summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/ExprConstant.cpp
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
commit6c0894b58ac8cbf12383f18789ac5a161a18f141 (patch)
treebe7d9089a30b09e352927f00b669a4a342ecb21b /clang/lib/AST/ExprConstant.cpp
parent397a686762e229c32857efc4e66b4e6cf72bee93 (diff)
downloadbcm5719-llvm-6c0894b58ac8cbf12383f18789ac5a161a18f141.tar.gz
bcm5719-llvm-6c0894b58ac8cbf12383f18789ac5a161a18f141.zip
Remove outdated FIXME.
llvm-svn: 372438
Diffstat (limited to 'clang/lib/AST/ExprConstant.cpp')
-rw-r--r--clang/lib/AST/ExprConstant.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/clang/lib/AST/ExprConstant.cpp b/clang/lib/AST/ExprConstant.cpp
index 39d0943b45e..4e371d7ca95 100644
--- a/clang/lib/AST/ExprConstant.cpp
+++ b/clang/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
OpenPOWER on IntegriCloud