diff options
author | Alexey Bataev <a.bataev@hotmail.com> | 2014-06-26 08:21:58 +0000 |
---|---|---|
committer | Alexey Bataev <a.bataev@hotmail.com> | 2014-06-26 08:21:58 +0000 |
commit | 1e0498a92d6e09d01c791a7f32299de6c8e02cac (patch) | |
tree | 80b5da2548f93a8a8f193b07da7851a496adb24d /clang/tools/libclang/CXCursor.cpp | |
parent | 07910d6ab548e7a57717af7e28d994cd652fd75d (diff) | |
download | bcm5719-llvm-1e0498a92d6e09d01c791a7f32299de6c8e02cac.tar.gz bcm5719-llvm-1e0498a92d6e09d01c791a7f32299de6c8e02cac.zip |
[OPENMP] Initial parsing and sema analysis for 'section' directive.
llvm-svn: 211767
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 ad8c7df70b7..8a5077c12af 100644 --- a/clang/tools/libclang/CXCursor.cpp +++ b/clang/tools/libclang/CXCursor.cpp @@ -525,6 +525,9 @@ CXCursor cxcursor::MakeCXCursor(const Stmt *S, const Decl *Parent, case Stmt::OMPSectionsDirectiveClass: K = CXCursor_OMPSectionsDirective; break; + case Stmt::OMPSectionDirectiveClass: + K = CXCursor_OMPSectionDirective; + break; } CXCursor C = { K, 0, { Parent, S, TU } }; |