Skip to content

Commit 729aa96

Browse files
committed
remove fixme
Signed-off-by: Justin Stitt <[email protected]>
1 parent f49f6b0 commit 729aa96

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

clang/lib/Sema/SemaExpr.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20567,10 +20567,6 @@ void Sema::MarkDeclarationsReferencedInExpr(Expr *E,
2056720567
}
2056820568

2056920569
/// Emit a diagnostic when statements are reachable.
20570-
/// FIXME: check for reachability even in expressions for which we don't build a
20571-
/// CFG (eg, in the initializer of a global or in a constant expression).
20572-
/// For example,
20573-
/// namespace { auto *p = new double[3][false ? (1, 2) : 3]; }
2057420570
bool Sema::DiagIfReachable(SourceLocation Loc, ArrayRef<const Stmt *> Stmts,
2057520571
const PartialDiagnostic &PD) {
2057620572
// The initializer of a constexpr variable or of the first declaration of a

0 commit comments

Comments
 (0)