commit | 6dcea67483a72e47db0a382e8d073340927ac27f | [log] [tgz] |
---|---|---|
author | Rafael Espindola <rafael.espindola@gmail.com> | Sat Jan 12 15:27:44 2013 +0000 |
committer | Rafael Espindola <rafael.espindola@gmail.com> | Sat Jan 12 15:27:44 2013 +0000 |
tree | 8772bbfab454ffeb1d557f643c78426a9a22a612 | |
parent | 508276c8895d0a52198a0fa5dd01471236a94d50 [diff] |
comment git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@172317 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/AST/Decl.cpp b/lib/AST/Decl.cpp index 2987e7c..aeffd0a 100644 --- a/lib/AST/Decl.cpp +++ b/lib/AST/Decl.cpp
@@ -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;