diff options
author | jyu2-git <jennifer.yu@intel.com> | 2024-05-03 18:34:25 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-03 18:34:25 -0700 |
commit | 8c55eb84e362659ff94315eca096387c53a781c2 (patch) | |
tree | 57d463a240e018f63c38d2c5e366c6a34625be57 | |
parent | ebb6ac3dc1cc5f4e604ec3c7e68821432856920f (diff) |
Update ParseOpenMP.cppupstream/revert-90885-revert-90499-map-type-property
Format.
-rw-r--r-- | clang/lib/Parse/ParseOpenMP.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Parse/ParseOpenMP.cpp b/clang/lib/Parse/ParseOpenMP.cpp index 8a85e7582fb5..5265d8f1922c 100644 --- a/clang/lib/Parse/ParseOpenMP.cpp +++ b/clang/lib/Parse/ParseOpenMP.cpp @@ -4323,7 +4323,7 @@ static OpenMPMapClauseKind isMapType(Parser &P) { if (!Tok.isOneOf(tok::identifier, tok::kw_delete)) return OMPC_MAP_unknown; Preprocessor &PP = P.getPreprocessor(); - unsigned MapType = + unsigned MapType = getOpenMPSimpleClauseType(OMPC_map, PP.getSpelling(Tok), P.getLangOpts()); if (MapType == OMPC_MAP_to || MapType == OMPC_MAP_from || MapType == OMPC_MAP_tofrom || MapType == OMPC_MAP_alloc || |