Skip to content

Commit bc94ee5

Browse files
author
git apple-llvm automerger
committed
Merge commit '1bef22950a5c' from llvm.org/main into next
2 parents c49a606 + 1bef229 commit bc94ee5

File tree

1 file changed

+0
-23
lines changed

1 file changed

+0
-23
lines changed

clang/lib/Sema/SemaOpenMP.cpp

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -15884,29 +15884,6 @@ OMPClause *Sema::ActOnOpenMPPrivateClause(ArrayRef<Expr *> VarList,
1588415884
PrivateCopies);
1588515885
}
1588615886

15887-
namespace {
15888-
class DiagsUninitializedSeveretyRAII {
15889-
private:
15890-
DiagnosticsEngine &Diags;
15891-
SourceLocation SavedLoc;
15892-
bool IsIgnored = false;
15893-
15894-
public:
15895-
DiagsUninitializedSeveretyRAII(DiagnosticsEngine &Diags, SourceLocation Loc,
15896-
bool IsIgnored)
15897-
: Diags(Diags), SavedLoc(Loc), IsIgnored(IsIgnored) {
15898-
if (!IsIgnored) {
15899-
Diags.setSeverity(/*Diag*/ diag::warn_uninit_self_reference_in_init,
15900-
/*Map*/ diag::Severity::Ignored, Loc);
15901-
}
15902-
}
15903-
~DiagsUninitializedSeveretyRAII() {
15904-
if (!IsIgnored)
15905-
Diags.popMappings(SavedLoc);
15906-
}
15907-
};
15908-
}
15909-
1591015887
OMPClause *Sema::ActOnOpenMPFirstprivateClause(ArrayRef<Expr *> VarList,
1591115888
SourceLocation StartLoc,
1591215889
SourceLocation LParenLoc,

0 commit comments

Comments
 (0)