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

Stephan Bergmann sbergman at redhat.com
Tue Jul 4 10:16:21 UTC 2017


 compilerplugins/clang/oncevar.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 3822597b21b529a2ed58a74477fd0e58390e656e
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Tue Jul 4 12:15:50 2017 +0200

    typo in comment
    
    Change-Id: I816f2dad87d798296e60a5eb8842a147f504b90b

diff --git a/compilerplugins/clang/oncevar.cxx b/compilerplugins/clang/oncevar.cxx
index 41feb23b3280..e7b55a09421f 100644
--- a/compilerplugins/clang/oncevar.cxx
+++ b/compilerplugins/clang/oncevar.cxx
@@ -172,8 +172,8 @@ bool OnceVar::VisitVarDecl( const VarDecl* varDecl )
         //   sizeof (T)
         //
         // with dependent type T /is/ constant, keep consistent here with the
-        // (arguably broken) behavior of isConstantInitalizer returning false in
-        // Clang >= 3.9):
+        // (arguably broken) behavior of isConstantInitializer returning false
+        // in Clang >= 3.9):
         if (init->isValueDependent()) {
             return true;
         }


More information about the Libreoffice-commits mailing list