[PATCH] D116261: [Clang][OpenMP] Add support for compare capture in parser
Alexey Bataev via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Feb 11 07:31:39 PST 2022
ABataev added a comment.
Add ast print with serialization/deserialization tests.
================
Comment at: clang/lib/Sema/SemaOpenMP.cpp:11320
+ bool MutexClauseEncountered = false;
+ llvm::SmallSet<OpenMPClauseKind, 2> EncounteredAtomicKinds;
for (const OMPClause *C : Clauses) {
----------------
SmallVector with 2 elements should be enough, no need to use SmallSet here.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D116261/new/
https://reviews.llvm.org/D116261
More information about the cfe-commits
mailing list