Skip to content

Commit 4ce7b0c

Browse files
committed
remove fixme
Signed-off-by: Justin Stitt <[email protected]>
1 parent 64b365a commit 4ce7b0c

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
@@ -20544,10 +20544,6 @@ void Sema::MarkDeclarationsReferencedInExpr(Expr *E,
2054420544
}
2054520545

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

0 commit comments

Comments
 (0)