We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c495ce commit d953ca5Copy full SHA for d953ca5
clang/lib/Sema/SemaOpenMP.cpp
@@ -496,7 +496,7 @@ class DSAStackTy {
496
void addCriticalWithHint(const OMPCriticalDirective *D, llvm::APSInt Hint) {
497
Criticals.try_emplace(D->getDirectiveName().getAsString(), D, Hint);
498
}
499
- const std::pair<const OMPCriticalDirective *, llvm::APSInt>
+ std::pair<const OMPCriticalDirective *, llvm::APSInt>
500
getCriticalWithHint(const DeclarationNameInfo &Name) const {
501
auto I = Criticals.find(Name.getAsString());
502
if (I != Criticals.end())
0 commit comments