File tree Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Original file line number Diff line number Diff line change @@ -675,19 +675,6 @@ static bool CheckEquivalentExceptionSpecImpl(
675
675
}
676
676
}
677
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
678
// Dynamic exception specifications with the same set of adjusted types
692
679
// are compatible.
693
680
if (OldEST == EST_Dynamic && NewEST == EST_Dynamic) {
You can’t perform that action at this time.
0 commit comments