summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorAlexander Musman <alexander.musman@gmail.com>2014-05-29 14:36:25 +0000
committerAlexander Musman <alexander.musman@gmail.com>2014-05-29 14:36:25 +0000
commitec0c25b912166fade30dda5fcdb3195b72db3e56 (patch)
tree296e97d5663d8e1ec07087166b9fa2421f06b839 /tools
parentf6cf7c7789744fcba00e5eec9b21e44676b35d0d (diff)
downloadclang-ec0c25b912166fade30dda5fcdb3195b72db3e56.tar.gz
clang-ec0c25b912166fade30dda5fcdb3195b72db3e56.tar.bz2
clang-ec0c25b912166fade30dda5fcdb3195b72db3e56.tar.xz
Parsing/Sema for OMPAlignedClause.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@209816 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r--tools/libclang/CIndex.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/libclang/CIndex.cpp b/tools/libclang/CIndex.cpp
index ef4ddeab94..22b007e2f7 100644
--- a/tools/libclang/CIndex.cpp
+++ b/tools/libclang/CIndex.cpp
@@ -1963,6 +1963,10 @@ void OMPClauseEnqueue::VisitOMPLinearClause(const OMPLinearClause *C) {
VisitOMPClauseList(C);
Visitor->AddStmt(C->getStep());
}
+void OMPClauseEnqueue::VisitOMPAlignedClause(const OMPAlignedClause *C) {
+ VisitOMPClauseList(C);
+ Visitor->AddStmt(C->getAlignment());
+}
void OMPClauseEnqueue::VisitOMPCopyinClause(const OMPCopyinClause *C) {
VisitOMPClauseList(C);
}