[llvm-branch-commits] [clang] ebb6ac3 - Update ParseOpenMP.cpp
via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Fri May 3 18:20:29 PDT 2024
Author: jyu2-git
Date: 2024-05-03T18:20:24-07:00
New Revision: ebb6ac3dc1cc5f4e604ec3c7e68821432856920f
URL: https://github.com/llvm/llvm-project/commit/ebb6ac3dc1cc5f4e604ec3c7e68821432856920f
DIFF: https://github.com/llvm/llvm-project/commit/ebb6ac3dc1cc5f4e604ec3c7e68821432856920f.diff
LOG: Update ParseOpenMP.cpp
Fix format.
Added:
Modified:
clang/lib/Parse/ParseOpenMP.cpp
Removed:
################################################################################
diff --git a/clang/lib/Parse/ParseOpenMP.cpp b/clang/lib/Parse/ParseOpenMP.cpp
index bb1cbcc23318b7..8a85e7582fb522 100644
--- a/clang/lib/Parse/ParseOpenMP.cpp
+++ b/clang/lib/Parse/ParseOpenMP.cpp
@@ -4323,8 +4323,8 @@ static OpenMPMapClauseKind isMapType(Parser &P) {
if (!Tok.isOneOf(tok::identifier, tok::kw_delete))
return OMPC_MAP_unknown;
Preprocessor &PP = P.getPreprocessor();
- unsigned MapType = getOpenMPSimpleClauseType(
- OMPC_map, PP.getSpelling(Tok), P.getLangOpts());
+ 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 ||
MapType == OMPC_MAP_delete || MapType == OMPC_MAP_release)
More information about the llvm-branch-commits
mailing list