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 5c4f2cf commit 7b28289Copy full SHA for 7b28289
clang/lib/Sema/SemaExceptionSpec.cpp
@@ -675,19 +675,6 @@ static bool CheckEquivalentExceptionSpecImpl(
675
}
676
677
678
-#if 0
679
- // C++14 [except.spec]p3:
680
- // Two exception-specifications are compatible if [...] both have the form
681
- // noexcept(constant-expression) and the constant-expressions are equivalent
682
- if (OldEST == EST_DependentNoexcept && NewEST == EST_DependentNoexcept) {
683
- llvm::FoldingSetNodeID OldFSN, NewFSN;
684
- Old->getNoexceptExpr()->Profile(OldFSN, S.Context, true);
685
- New->getNoexceptExpr()->Profile(NewFSN, S.Context, true);
686
- if (OldFSN == NewFSN)
687
- return false;
688
- }
689
-#endif
690
-
691
// Dynamic exception specifications with the same set of adjusted types
692
// are compatible.
693
if (OldEST == EST_Dynamic && NewEST == EST_Dynamic) {
0 commit comments