diff options
author | Alexey Bataev <a.bataev@hotmail.com> | 2014-09-19 08:19:49 +0000 |
---|---|---|
committer | Alexey Bataev <a.bataev@hotmail.com> | 2014-09-19 08:19:49 +0000 |
commit | 0bd520b767200209129dc46bfe7ff4e977e652e7 (patch) | |
tree | b7838cf6ca0d62302d0ec272359a88af61a3587a /clang/tools/libclang/CXCursor.cpp | |
parent | 13ba23bb79ce689f29d67e8656a599f019e9bb03 (diff) | |
download | bcm5719-llvm-0bd520b767200209129dc46bfe7ff4e977e652e7.tar.gz bcm5719-llvm-0bd520b767200209129dc46bfe7ff4e977e652e7.zip |
[OPENMP] Initial parsing/sema analysis of 'target' directive.
llvm-svn: 218110
Diffstat (limited to 'clang/tools/libclang/CXCursor.cpp')
-rw-r--r-- | clang/tools/libclang/CXCursor.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/tools/libclang/CXCursor.cpp b/clang/tools/libclang/CXCursor.cpp index 96e8f993f66..d83e71a99ac 100644 --- a/clang/tools/libclang/CXCursor.cpp +++ b/clang/tools/libclang/CXCursor.cpp @@ -572,6 +572,9 @@ CXCursor cxcursor::MakeCXCursor(const Stmt *S, const Decl *Parent, case Stmt::OMPAtomicDirectiveClass: K = CXCursor_OMPAtomicDirective; break; + case Stmt::OMPTargetDirectiveClass: + K = CXCursor_OMPTargetDirective; + break; } CXCursor C = { K, 0, { Parent, S, TU } }; |