]> granicus.if.org Git - clang/commit
[OPENMP] FIx processing of declare target variables.
authorAlexey Bataev <a.bataev@hotmail.com>
Wed, 15 Aug 2018 19:45:12 +0000 (19:45 +0000)
committerAlexey Bataev <a.bataev@hotmail.com>
Wed, 15 Aug 2018 19:45:12 +0000 (19:45 +0000)
commit83f7c22cd5398838f2a596e983abd008f8a12668
tree61bb860e0e592b719aaec1a781051e6645dc0075
parent42c483011b56fbd5d5aad7bad53135190b2d693a
[OPENMP] FIx processing of declare target variables.

The compiler may produce unexpected error messages/crashes when declare
target variables were used. Patch fixes problems with the declarations
marked as declare target to or link.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@339805 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/ASTContext.cpp
lib/CodeGen/CGExpr.cpp
lib/CodeGen/CGOpenMPRuntime.cpp
lib/CodeGen/CodeGenModule.cpp
lib/Serialization/ASTReaderDecl.cpp
lib/Serialization/ASTWriter.cpp
lib/Serialization/ASTWriterDecl.cpp
test/OpenMP/declare_target_codegen.cpp
test/OpenMP/declare_target_link_codegen.cpp