llvm-project/clang
Jennifer Yu 3d9880ebbc [OpenMP]Skip generating this[:1] map info for non-member variable.
My change of D14093 is only fixed problem for "pragma target data".

The problem still here for "pragma target"
what I am missing is:
When processing "pragma target data", the VD is passed when call to
emitCombinedEntry, so check VD is null as map for this pointer.

But when processing "pragma target" the VD is passed as nullptr, so
check VD is null is not working.

To fix this I add a new parameter IsMapThis. During the call to
emitCombinedEntry passes true if it is capturing this pointer and use
that instead check of "!VD".

Differential Revision: https://reviews.llvm.org/D146000
2023-03-14 09:09:20 -07:00
..
bindings
cmake [Fuchsia] Add LLDB to CLANG_BOOTSTRAP_TARGETS. 2023-03-10 11:35:32 -08:00
docs Fix false positive with unreachable C++ catch handlers 2023-03-14 11:08:39 -04:00
examples [clang][pp] Handle attributes defined by plugin in __has_attribute 2023-03-13 16:47:51 +01:00
include [libclang] No longer attempt to get a dependent bit-width 2023-03-14 09:59:24 -04:00
lib [OpenMP]Skip generating this[:1] map info for non-member variable. 2023-03-14 09:09:20 -07:00
runtime
test [OpenMP]Skip generating this[:1] map info for non-member variable. 2023-03-14 09:09:20 -07:00
tools [libclang] No longer attempt to get a dependent bit-width 2023-03-14 09:59:24 -04:00
unittests [clang-format] Treat &/&& as reference when followed by requires clause 2023-03-14 12:51:34 +02:00
utils [AArch64] Add svboolx2_t and svboolx4_t tuple types 2023-03-14 10:16:51 +00:00
www
.clang-format
.clang-tidy
.gitignore
CMakeLists.txt clang/cmake: Use installed gtest libraries for stand-alone builds 2023-03-10 20:00:23 -08:00
CodeOwners.rst
INSTALL.txt
LICENSE.TXT
ModuleInfo.txt
NOTES.txt
README.txt

//===----------------------------------------------------------------------===//
// C Language Family Front-end
//===----------------------------------------------------------------------===//

Welcome to Clang.  This is a compiler front-end for the C family of languages
(C, C++, Objective-C, and Objective-C++) which is built as part of the LLVM
compiler infrastructure project.

Unlike many other compiler frontends, Clang is useful for a number of things
beyond just compiling code: we intend for Clang to be host to a number of
different source-level tools.  One example of this is the Clang Static Analyzer.

If you're interested in more (including how to build Clang) it is best to read
the relevant web sites.  Here are some pointers:

Information on Clang:             http://clang.llvm.org/
Building and using Clang:         http://clang.llvm.org/get_started.html
Clang Static Analyzer:            http://clang-analyzer.llvm.org/
Information on the LLVM project:  http://llvm.org/

If you have questions or comments about Clang, a great place to discuss them is
on the Clang forums:
  https://discourse.llvm.org/c/clang/

If you find a bug in Clang, please file it in the LLVM bug tracker:
  http://llvm.org/bugs/