summaryrefslogtreecommitdiff
path: root/tools/libclang/CXCursor.cpp
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@hotmail.com>2014-06-25 11:44:49 +0000
committerAlexey Bataev <a.bataev@hotmail.com>2014-06-25 11:44:49 +0000
commit71f61a886646fca18a9dbed747ff34b0faa0dc98 (patch)
tree9cf6bd28790e4ce856530984d227bf1f316c5e71 /tools/libclang/CXCursor.cpp
parentab6dc444704d6f49ebc9ed60cc9fec0ec034b384 (diff)
downloadclang-71f61a886646fca18a9dbed747ff34b0faa0dc98.tar.gz
clang-71f61a886646fca18a9dbed747ff34b0faa0dc98.tar.bz2
clang-71f61a886646fca18a9dbed747ff34b0faa0dc98.tar.xz
[OPENMP] Initial support for 'sections' directive.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@211685 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/libclang/CXCursor.cpp')
-rw-r--r--tools/libclang/CXCursor.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/libclang/CXCursor.cpp b/tools/libclang/CXCursor.cpp
index 7418c29741..ad8c7df70b 100644
--- a/tools/libclang/CXCursor.cpp
+++ b/tools/libclang/CXCursor.cpp
@@ -522,6 +522,9 @@ CXCursor cxcursor::MakeCXCursor(const Stmt *S, const Decl *Parent,
case Stmt::OMPForDirectiveClass:
K = CXCursor_OMPForDirective;
break;
+ case Stmt::OMPSectionsDirectiveClass:
+ K = CXCursor_OMPSectionsDirective;
+ break;
}
CXCursor C = { K, 0, { Parent, S, TU } };