diff options
author | Alexey Bataev <a.bataev@hotmail.com> | 2015-04-01 03:33:17 +0000 |
---|---|---|
committer | Alexey Bataev <a.bataev@hotmail.com> | 2015-04-01 03:33:17 +0000 |
commit | b78ca83d3b9f86efea1b5d9e618e8dd1c27de2da (patch) | |
tree | f9316bcc26eade320af03bf566c47afce3c7f381 /clang/lib/Serialization/ASTReaderStmt.cpp | |
parent | 506cf09c6f641b7c06eb3b6bba8e2c388a27c144 (diff) | |
download | bcm5719-llvm-b78ca83d3b9f86efea1b5d9e618e8dd1c27de2da.tar.gz bcm5719-llvm-b78ca83d3b9f86efea1b5d9e618e8dd1c27de2da.zip |
[OPENMP] Sema analysis for 'atomic capture' construct.
Added sema checks for forms of expressions/statements allowed under control of 'atomic capture' directive + generation of helper objects for future codegen.
llvm-svn: 233785
Diffstat (limited to 'clang/lib/Serialization/ASTReaderStmt.cpp')
-rw-r--r-- | clang/lib/Serialization/ASTReaderStmt.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Serialization/ASTReaderStmt.cpp b/clang/lib/Serialization/ASTReaderStmt.cpp index b31d9e756a6..e40b1d9599e 100644 --- a/clang/lib/Serialization/ASTReaderStmt.cpp +++ b/clang/lib/Serialization/ASTReaderStmt.cpp @@ -2162,6 +2162,7 @@ void ASTStmtReader::VisitOMPAtomicDirective(OMPAtomicDirective *D) { D->setExpr(Reader.ReadSubExpr()); D->setUpdateExpr(Reader.ReadSubExpr()); D->IsXLHSInRHSPart = Record[Idx++] != 0; + D->IsPostfixUpdate = Record[Idx++] != 0; } void ASTStmtReader::VisitOMPTargetDirective(OMPTargetDirective *D) { |