diff options
author | Alexey Bataev <a.bataev@hotmail.com> | 2014-07-21 11:26:11 +0000 |
---|---|---|
committer | Alexey Bataev <a.bataev@hotmail.com> | 2014-07-21 11:26:11 +0000 |
commit | 6125da9258e6e070b5188a30715eef9e6e695f71 (patch) | |
tree | 1ff7bb0c664c8c49576f4e09338dc3303daaea6b /clang/tools/libclang/CXCursor.cpp | |
parent | d7c279604551c091290fc8e5dadb26142ebef459 (diff) | |
download | bcm5719-llvm-6125da9258e6e070b5188a30715eef9e6e695f71.tar.gz bcm5719-llvm-6125da9258e6e070b5188a30715eef9e6e695f71.zip |
[OPENMP] Initial parsing and sema analysis for 'flush' directive.
llvm-svn: 213512
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 94d209e7a7f..432190390b7 100644 --- a/clang/tools/libclang/CXCursor.cpp +++ b/clang/tools/libclang/CXCursor.cpp @@ -559,6 +559,9 @@ CXCursor cxcursor::MakeCXCursor(const Stmt *S, const Decl *Parent, case Stmt::OMPTaskwaitDirectiveClass: K = CXCursor_OMPTaskwaitDirective; break; + case Stmt::OMPFlushDirectiveClass: + K = CXCursor_OMPFlushDirective; + break; } CXCursor C = { K, 0, { Parent, S, TU } }; |