summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2019-09-20 23:12:51 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2019-09-20 23:12:51 +0000
commitc091e0e4ca6f7729fd7b08323a316ffa277171c2 (patch)
treecb5d38d1bcbdef970d6d4452a626da68df824f61
parent2f8985aaa00f95270bce3e1eec546613cbf032e2 (diff)
downloadclang-c091e0e4ca6f7729fd7b08323a316ffa277171c2.tar.gz
Remove outdated FIXME.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@372438 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/AST/ExprConstant.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/AST/ExprConstant.cpp b/lib/AST/ExprConstant.cpp
index 39d0943b45..4e371d7ca9 100644
--- a/lib/AST/ExprConstant.cpp
+++ b/lib/AST/ExprConstant.cpp
@@ -4102,10 +4102,6 @@ static EvalStmtResult EvaluateStmt(StmtResult &Result, EvalInfo &Info,
// 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