Skip to content

Commit d953ca5

Browse files
[Sema] Drop const from a return type (NFC) (#143224)
1 parent 0c495ce commit d953ca5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/Sema/SemaOpenMP.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -496,7 +496,7 @@ class DSAStackTy {
496496
void addCriticalWithHint(const OMPCriticalDirective *D, llvm::APSInt Hint) {
497497
Criticals.try_emplace(D->getDirectiveName().getAsString(), D, Hint);
498498
}
499-
const std::pair<const OMPCriticalDirective *, llvm::APSInt>
499+
std::pair<const OMPCriticalDirective *, llvm::APSInt>
500500
getCriticalWithHint(const DeclarationNameInfo &Name) const {
501501
auto I = Criticals.find(Name.getAsString());
502502
if (I != Criticals.end())

0 commit comments

Comments
 (0)