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

Stephan Bergmann (via logerrit) logerrit at kemper.freedesktop.org
Tue Oct 15 09:27:38 UTC 2019


 compilerplugins/clang/classmemaccess.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 0ff6e236b7eba698b9766030e698410acd0235d0
Author:     Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Tue Oct 15 10:40:24 2019 +0200
Commit:     Stephan Bergmann <sbergman at redhat.com>
CommitDate: Tue Oct 15 11:26:26 2019 +0200

    Can use pointer to const here
    
    Change-Id: I1960e0a460ec4eae4f8d4da526aad8db863087af
    Reviewed-on: https://gerrit.libreoffice.org/80813
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sbergman at redhat.com>

diff --git a/compilerplugins/clang/classmemaccess.cxx b/compilerplugins/clang/classmemaccess.cxx
index 56fe3fe39ab0..40132c36e1a5 100644
--- a/compilerplugins/clang/classmemaccess.cxx
+++ b/compilerplugins/clang/classmemaccess.cxx
@@ -30,7 +30,7 @@ public:
     {
     }
 
-    bool VisitCallExpr(CallExpr* expr)
+    bool VisitCallExpr(CallExpr const* expr)
     {
         if (ignoreLocation(expr))
         {


More information about the Libreoffice-commits mailing list