[OPENMP] Simplify handling of clauses with postupdates, NFC.
authorAlexey Bataev <a.bataev@hotmail.com>
Fri, 4 Mar 2016 07:21:16 +0000 (07:21 +0000)
committerAlexey Bataev <a.bataev@hotmail.com>
Fri, 4 Mar 2016 07:21:16 +0000 (07:21 +0000)
commit37e594c79966900734dd1cc1bda3a9cafc48cd85
tree13eb8da3e6ac6bbc207022055b4eca08d0d7dcd3
parent7332106499eb8ef7cb98fe100df486b3ac2be073
[OPENMP] Simplify handling of clauses with postupdates, NFC.

Clauses with post-update expressions always have pre-init statement. So
OMPClauseWithPreInit now is the base for OMPClauseWithPostUpdate.

llvm-svn: 262696
clang/include/clang/AST/OpenMPClause.h
clang/include/clang/AST/RecursiveASTVisitor.h
clang/lib/AST/StmtProfile.cpp
clang/lib/Serialization/ASTReaderStmt.cpp
clang/lib/Serialization/ASTWriterStmt.cpp
clang/tools/libclang/CIndex.cpp