[Libreoffice-commits] core.git: compilerplugins/clang

Stephan Bergmann sbergman at redhat.com
Tue Nov 7 16:16:12 UTC 2017


 compilerplugins/clang/flatten.cxx |    1 -
 1 file changed, 1 deletion(-)

New commits:
commit 0f5c7d86220550ce1b6b01757f869f4101a112ef
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Tue Nov 7 17:14:56 2017 +0100

    Remove obsolete comment
    
    ...that should have been removed in 2446d2b2fb8b091eaae015fd5bb26bd8e0f596f7
    "Avoid expensive calls to containsPreprocessingConditionalInclusion"
    
    Change-Id: I2ffe0ec7b6f1ec0b418979f2864bd5de79ab2c9a

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


More information about the Libreoffice-commits mailing list