llvm-project/clang/lib
Roman Lebedev 23019f946d [clang][OpenMP] OMPFlushClause is synthetic, no such clause exists
Summary:
As discussed in https://reviews.llvm.org/D57112#inline-506781,
'flush' clause does not exist in the OpenMP spec, it can not be
specified, and `OMPFlushClause` class is just a helper class.

Therefore `OPENMP_CLAUSE()` in `clang/Basic/OpenMPKinds.def`
should not contain 'flush' "clause".

I have simply removed the `OPENMP_CLAUSE(flush, OMPFlushClause)`
from `clang/Basic/OpenMPKinds.def`, grepped for `OPENMP_CLAUSE`
and added `OPENMP_CLAUSE(flush, OMPFlushClause)` back to the **every**
place where `OPENMP_CLAUSE` is defined and `clang/Basic/OpenMPKinds.def`
is then included.

So as-is, this patch is a NFC. Possibly, some of these
`OPENMP_CLAUSE(flush, OMPFlushClause)` should be dropped,
i don't really know.

Test plan: `ninja check-clang`

Reviewers: ABataev

Reviewed By: ABataev

Subscribers: guansong, arphaman, cfe-commits

Tags: #openmp

Differential Revision: https://reviews.llvm.org/D57280

llvm-svn: 352390
2019-01-28 17:04:11 +00:00
..
ARCMigrate [analyzer] Port RetainSummaryManager to the new AnyCall interface, decouple ARCMT from the analyzer 2019-01-25 01:24:04 +00:00
AST [clang][OpenMP] OMPFlushClause is synthetic, no such clause exists 2019-01-28 17:04:11 +00:00
ASTMatchers Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Analysis [analyzer] Port RetainSummaryManager to the new AnyCall interface, decouple ARCMT from the analyzer 2019-01-25 01:24:04 +00:00
Basic [clang][OpenMP] OMPFlushClause is synthetic, no such clause exists 2019-01-28 17:04:11 +00:00
CodeGen Rename getTypeQualifiers to getMethodQualifiers. 2019-01-28 11:37:49 +00:00
CrossTU Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Driver Revert r352181 as it's breaking the bots 2019-01-25 10:35:35 +00:00
Edit Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Format [clang-format] square parens with one token are not Objective-C message sends 2019-01-24 23:07:58 +00:00
Frontend Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
FrontendTool [analyzer][NFC] Supply CheckerRegistry with AnalyzerOptions 2019-01-26 15:59:21 +00:00
Headers [X86] Remove mask and passthru arguments from vpconflict builtins. Use select in IR instead. 2019-01-25 07:08:22 +00:00
Index Rename getTypeQualifiers to getMethodQualifiers. 2019-01-28 11:37:49 +00:00
Lex Remove F16 literal support based on Float16 support. 2019-01-25 18:36:20 +00:00
Parse Rename getTypeQualifiers to getMethodQualifiers. 2019-01-28 11:37:49 +00:00
Rewrite Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Sema [clang][OpenMP] OMPFlushClause is synthetic, no such clause exists 2019-01-28 17:04:11 +00:00
Serialization Rename getTypeQualifiers to getMethodQualifiers. 2019-01-28 11:37:49 +00:00
StaticAnalyzer [analyzer] Add CheckerManager::getChecker, make sure that a registry function registers no more than 1 checker 2019-01-26 21:41:50 +00:00
Tooling Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
CMakeLists.txt Add Cross Translation Unit support library 2017-09-22 11:11:01 +00:00