[cfe-commits] r172317 - /cfe/trunk/lib/AST/Decl.cpp
Rafael Espindola
rafael.espindola at gmail.com
Sat Jan 12 07:27:44 PST 2013
Author: rafael
Date: Sat Jan 12 09:27:44 2013
New Revision: 172317
URL: http://llvm.org/viewvc/llvm-project?rev=172317&view=rev
Log:
comment
Modified:
cfe/trunk/lib/AST/Decl.cpp
Modified: cfe/trunk/lib/AST/Decl.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/Decl.cpp?rev=172317&r1=172316&r2=172317&view=diff
==============================================================================
--- cfe/trunk/lib/AST/Decl.cpp (original)
+++ cfe/trunk/lib/AST/Decl.cpp Sat Jan 12 09:27:44 2013
@@ -1761,6 +1761,9 @@
}
bool FunctionDecl::hasCLanguageLinkage() const {
+ // Users expect to be able to write
+ // extern "C" void *__builtin_alloca (size_t);
+ // so consider builtins as having C language linkage.
if (getBuiltinID())
return true;
More information about the cfe-commits
mailing list