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(
1553
1553
std::get<Name>(derived->t).ToString() + llvm::omp::OmpDefaultMapperName,
1554
1554
std::move(typeSpec), std::move(varName)};
1555
1555
}
1556
- return OmpMapperSpecifier{std::string(" omp.default.mapper" ),
1556
+ return OmpMapperSpecifier{std::string(llvm:: omp::OmpDefaultMapperName ),
1557
1557
std::move(typeSpec), std::move(varName)};
1558
1558
}
1559
1559
Original file line number Diff line number Diff line change @@ -2094,7 +2094,7 @@ class UnparseVisitor {
2094
2094
}
2095
2095
void Unparse (const OmpMapperSpecifier &x) {
2096
2096
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) {
2098
2098
Walk (mapperName);
2099
2099
Put (" :" );
2100
2100
}
@@ -2740,7 +2740,7 @@ class UnparseVisitor {
2740
2740
Word (" !$OMP DECLARE MAPPER (" );
2741
2741
const auto &spec{std::get<OmpMapperSpecifier>(z.t )};
2742
2742
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) {
2744
2744
Walk (mapperName);
2745
2745
Put (" :" );
2746
2746
}
You can’t perform that action at this time.
0 commit comments