Kaydet (Commit) 4865115d authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Improve Clang 3.2 hasCLanguageLinkageType workaround

Change-Id: If5c104adc05aa362d15cedf6f8953bda478897bc
üst 4a56b4ab
......@@ -85,7 +85,7 @@ bool hasCLanguageLinkageType(FunctionDecl const * decl) {
return true;
}
#else
if (decl->getDeclContext()->isExternCContext()) {
if (decl->getCanonicalDecl()->getDeclContext()->isExternCContext()) {
return true;
}
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment