File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1553,7 +1553,7 @@ static OmpMapperSpecifier ConstructOmpMapperSpecifier(
15531553 std::get<Name>(derived->t).ToString() + llvm::omp::OmpDefaultMapperName,
15541554 std::move(typeSpec), std::move(varName)};
15551555 }
1556- return OmpMapperSpecifier{std::string(" omp.default.mapper" ),
1556+ return OmpMapperSpecifier{std::string(llvm:: omp::OmpDefaultMapperName ),
15571557 std::move(typeSpec), std::move(varName)};
15581558}
15591559
Original file line number Diff line number Diff line change @@ -2094,7 +2094,7 @@ class UnparseVisitor {
20942094 }
20952095 void Unparse (const OmpMapperSpecifier &x) {
20962096 const auto &mapperName{std::get<std::string>(x.t )};
2097- if (mapperName.find (" omp.default.mapper " ) == std::string::npos) {
2097+ if (mapperName.find (llvm:: omp::OmpDefaultMapperName ) == std::string::npos) {
20982098 Walk (mapperName);
20992099 Put (" :" );
21002100 }
@@ -2740,7 +2740,7 @@ class UnparseVisitor {
27402740 Word (" !$OMP DECLARE MAPPER (" );
27412741 const auto &spec{std::get<OmpMapperSpecifier>(z.t )};
27422742 const auto &mapperName{std::get<std::string>(spec.t )};
2743- if (mapperName.find (" omp.default.mapper " ) == std::string::npos) {
2743+ if (mapperName.find (llvm:: omp::OmpDefaultMapperName ) == std::string::npos) {
27442744 Walk (mapperName);
27452745 Put (" :" );
27462746 }
You can’t perform that action at this time.
0 commit comments