Change-Id: Ifdbcbcc51c29dc14b2a3b4c845481b45300313d6
This commit is contained in:
Tor Lillqvist 2015-01-08 12:37:05 +02:00
parent 152e2a2eb7
commit 5d17e1ec85

View File

@ -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
}