summaryrefslogtreecommitdiffstats
path: root/clang/tools/libclang/CXCursor.cpp
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@hotmail.com>2014-09-19 08:19:49 +0000
committerAlexey Bataev <a.bataev@hotmail.com>2014-09-19 08:19:49 +0000
commit0bd520b767200209129dc46bfe7ff4e977e652e7 (patch)
treeb7838cf6ca0d62302d0ec272359a88af61a3587a /clang/tools/libclang/CXCursor.cpp
parent13ba23bb79ce689f29d67e8656a599f019e9bb03 (diff)
downloadbcm5719-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.cpp3
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 } };
OpenPOWER on IntegriCloud