diff options
author | Alexey Bataev <a.bataev@hotmail.com> | 2014-06-26 12:05:45 +0000 |
---|---|---|
committer | Alexey Bataev <a.bataev@hotmail.com> | 2014-06-26 12:05:45 +0000 |
commit | d1e40fbfe1c38f5778c739d1fc1b3bcf156ccb58 (patch) | |
tree | 30b273a3b64072c964ed33986d2de6362af8c7d8 /clang/tools/libclang/CXCursor.cpp | |
parent | aee45418287cdcc1387c56e0c0d08990c322b45b (diff) | |
download | bcm5719-llvm-d1e40fbfe1c38f5778c739d1fc1b3bcf156ccb58.tar.gz bcm5719-llvm-d1e40fbfe1c38f5778c739d1fc1b3bcf156ccb58.zip |
[OPENMP] Initial parsing and sema analysis for 'single' directive.
llvm-svn: 211774
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 8a5077c12af..f3a3a6ea6b6 100644 --- a/clang/tools/libclang/CXCursor.cpp +++ b/clang/tools/libclang/CXCursor.cpp @@ -528,6 +528,9 @@ CXCursor cxcursor::MakeCXCursor(const Stmt *S, const Decl *Parent, case Stmt::OMPSectionDirectiveClass: K = CXCursor_OMPSectionDirective; break; + case Stmt::OMPSingleDirectiveClass: + K = CXCursor_OMPSingleDirective; + break; } CXCursor C = { K, 0, { Parent, S, TU } }; |