summaryrefslogtreecommitdiff
path: root/compilerplugins
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-11-07 17:14:56 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-11-07 17:14:56 +0100
commit0f5c7d86220550ce1b6b01757f869f4101a112ef (patch)
tree93e118c90c5c264f7c409544246fb1a594355f78 /compilerplugins
parent3503b65a36b5f3bcf4bfea59d519d52c10fa7b3e (diff)
Remove obsolete comment
...that should have been removed in 2446d2b2fb8b091eaae015fd5bb26bd8e0f596f7 "Avoid expensive calls to containsPreprocessingConditionalInclusion" Change-Id: I2ffe0ec7b6f1ec0b418979f2864bd5de79ab2c9a
Diffstat (limited to 'compilerplugins')
-rw-r--r--compilerplugins/clang/flatten.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/compilerplugins/clang/flatten.cxx b/compilerplugins/clang/flatten.cxx
index f7f6d8a76066..7d546ef5b448 100644
--- a/compilerplugins/clang/flatten.cxx
+++ b/compilerplugins/clang/flatten.cxx
@@ -124,7 +124,6 @@ bool Flatten::VisitIfStmt(IfStmt const * ifStmt)
if (elseThrowExpr)
{
- // if both the "if" and the "else" contain throws, no improvement
// if the "if" statement is not the last statement in its block, and it contains
// var decls in its then block, we cannot de-indent the then block without
// extending the lifetime of some variables, which may be problematic