summaryrefslogtreecommitdiff
path: root/compilerplugins
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2015-01-08 12:37:05 +0200
committerTor Lillqvist <tml@collabora.com>2015-01-08 12:41:26 +0200
commit5d17e1ec8540d966092d459f53fd2074b6a3a3f4 (patch)
tree84aa675613cbd715030449cc7dcb4567865e24cb /compilerplugins
parent152e2a2eb7ccd63900d8cfbd8ada47fa75891cbb (diff)
Fix typo
Change-Id: Ifdbcbcc51c29dc14b2a3b4c845481b45300313d6
Diffstat (limited to 'compilerplugins')
-rw-r--r--compilerplugins/clang/compat.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/compilerplugins/clang/compat.hxx b/compilerplugins/clang/compat.hxx
index 44452bd58733..66963db88a63 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
}