r372438 - Remove outdated FIXME.
Richard Smith via cfe-commits
cfe-commits at lists.llvm.org
Fri Sep 20 16:12:51 PDT 2019
Author: rsmith
Date: Fri Sep 20 16:12:51 2019
New Revision: 372438
URL: http://llvm.org/viewvc/llvm-project?rev=372438&view=rev
Log:
Remove outdated FIXME.
Modified:
cfe/trunk/lib/AST/ExprConstant.cpp
Modified: cfe/trunk/lib/AST/ExprConstant.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/ExprConstant.cpp?rev=372438&r1=372437&r2=372438&view=diff
==============================================================================
--- cfe/trunk/lib/AST/ExprConstant.cpp (original)
+++ cfe/trunk/lib/AST/ExprConstant.cpp Fri Sep 20 16:12:51 2019
@@ -4102,10 +4102,6 @@ static EvalStmtResult EvaluateStmt(StmtR
// If we're hunting down a 'case' or 'default' label, recurse through
// substatements until we hit the label.
if (Case) {
- // FIXME: We don't start the lifetime of objects whose initialization we
- // jump over. However, such objects must be of class type with a trivial
- // default constructor that initialize all subobjects, so must be empty,
- // so this almost never matters.
switch (S->getStmtClass()) {
case Stmt::CompoundStmtClass:
// FIXME: Precompute which substatement of a compound statement we
More information about the cfe-commits
mailing list