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

Tor Lillqvist tml at collabora.com
Thu Jan 8 02:44:11 PST 2015


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

New commits:
commit 5d17e1ec8540d966092d459f53fd2074b6a3a3f4
Author: Tor Lillqvist <tml at collabora.com>
Date:   Thu Jan 8 12:37:05 2015 +0200

    Fix typo
    
    Change-Id: Ifdbcbcc51c29dc14b2a3b4c845481b45300313d6

diff --git a/compilerplugins/clang/compat.hxx b/compilerplugins/clang/compat.hxx
index 44452bd..66963db 100644
--- a/compilerplugins/clang/compat.hxx
+++ b/compilerplugins/clang/compat.hxx
@@ -60,7 +60,7 @@ inline bool isInExternCContext(clang::FunctionDecl const & decl) {
 #if (__clang_major__ == 3 && __clang_minor__ >= 4) || __clang_major__ > 3
     return decl.isInExternCContext();
 #else
-    return isExternalCContext(*decl.getCanonicalDecl()->getDeclContext());
+    return isExternCContext(*decl.getCanonicalDecl()->getDeclContext());
 #endif
 }
 


More information about the Libreoffice-commits mailing list