[clang] [OpenMP][TR12] change property of map-type modifier. (PR #90499)
via cfe-commits
cfe-commits at lists.llvm.org
Tue Apr 30 13:05:14 PDT 2024
================
@@ -4675,8 +4709,10 @@ bool Parser::ParseOpenMPVarList(OpenMPDirectiveKind DKind,
// Only parse map-type-modifier[s] and map-type if a colon is present in
// the map clause.
if (ColonPresent) {
+ if (getLangOpts().OpenMP >= 60 && getCurToken().is(tok::colon))
----------------
jyu2-git wrote:
parseMapTypeModifiers is recursive function. I don't I have good place to added that.
https://github.com/llvm/llvm-project/pull/90499
More information about the cfe-commits
mailing list