[OpenMP] Parsing and sema support for target update directive
Summary: This patch is to add parsing and sema support for `target update` directive. Support for the `to` and `from` clauses will be added by a different patch. This patch also adds support for other clauses that are already implemented upstream and apply to `target update`, e.g. `device` and `if`. This patch is based on the original post by Kelvin Li. Reviewers: hfinkel, carlo.bertolli, kkwli0, arpith-jacob, ABataev Subscribers: caomhin, cfe-commits Differential Revision: http://reviews.llvm.org/D15944 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@270878 91177308-0d34-0410-b5e6-96231b3b80d8
Showing
- include/clang-c/Index.h 6 additions, 2 deletionsinclude/clang-c/Index.h
- include/clang/AST/RecursiveASTVisitor.h 3 additions, 0 deletionsinclude/clang/AST/RecursiveASTVisitor.h
- include/clang/AST/StmtOpenMP.h 60 additions, 1 deletioninclude/clang/AST/StmtOpenMP.h
- include/clang/Basic/DiagnosticSemaKinds.td 2 additions, 0 deletionsinclude/clang/Basic/DiagnosticSemaKinds.td
- include/clang/Basic/OpenMPKinds.def 10 additions, 0 deletionsinclude/clang/Basic/OpenMPKinds.def
- include/clang/Basic/StmtNodes.td 1 addition, 0 deletionsinclude/clang/Basic/StmtNodes.td
- include/clang/Sema/Sema.h 4 additions, 0 deletionsinclude/clang/Sema/Sema.h
- include/clang/Serialization/ASTBitCodes.h 1 addition, 0 deletionsinclude/clang/Serialization/ASTBitCodes.h
- lib/AST/StmtOpenMP.cpp 22 additions, 0 deletionslib/AST/StmtOpenMP.cpp
- lib/AST/StmtPrinter.cpp 6 additions, 0 deletionslib/AST/StmtPrinter.cpp
- lib/AST/StmtProfile.cpp 5 additions, 0 deletionslib/AST/StmtProfile.cpp
- lib/Basic/OpenMPKinds.cpp 11 additions, 1 deletionlib/Basic/OpenMPKinds.cpp
- lib/CodeGen/CGStmt.cpp 3 additions, 0 deletionslib/CodeGen/CGStmt.cpp
- lib/CodeGen/CGStmtOpenMP.cpp 6 additions, 0 deletionslib/CodeGen/CGStmtOpenMP.cpp
- lib/CodeGen/CodeGenFunction.h 1 addition, 0 deletionslib/CodeGen/CodeGenFunction.h
- lib/Parse/ParseOpenMP.cpp 8 additions, 2 deletionslib/Parse/ParseOpenMP.cpp
- lib/Sema/SemaOpenMP.cpp 22 additions, 1 deletionlib/Sema/SemaOpenMP.cpp
- lib/Sema/TreeTransform.h 11 additions, 0 deletionslib/Sema/TreeTransform.h
- lib/Serialization/ASTReaderStmt.cpp 11 additions, 0 deletionslib/Serialization/ASTReaderStmt.cpp
- lib/Serialization/ASTWriterStmt.cpp 7 additions, 0 deletionslib/Serialization/ASTWriterStmt.cpp
Loading
Please register or sign in to comment