Remove support for Clang < 3.3
Change-Id: I185852a738bac10dc6d331afccfcbc7ae1225cb1
This commit is contained in:
@@ -224,15 +224,9 @@ bool hasCLanguageLinkageType(FunctionDecl const * decl) {
|
||||
if (decl->isExternC()) {
|
||||
return true;
|
||||
}
|
||||
#if CLANG_VERSION >= 30300
|
||||
if (decl->isInExternCContext()) {
|
||||
return true;
|
||||
}
|
||||
#else
|
||||
if (decl->getCanonicalDecl()->getDeclContext()->isExternCContext()) {
|
||||
return true;
|
||||
}
|
||||
#endif
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user