#
28a5b326 |
| 19-Sep-2011 |
John McCall <rjmccall@apple.com> |
In apple-kext mode, use external linkage for explicit template instantiations instead of internal linkage.
llvm-svn: 140030
|
#
30e4efd4 |
| 13-Sep-2011 |
John McCall <rjmccall@apple.com> |
Correctly generate IR for casted "builtin" functions, where the builtin is really just a predefined declaration. These are totally valid to cast.
llvm-svn: 139657
|
#
79a91418 |
| 13-Sep-2011 |
Douglas Gregor <dgregor@apple.com> |
Switch LangOptions over to a .def file that describes header of the language options. Use that .def file to declare the LangOptions class and initialize all of its members, eliminating a source of an
Switch LangOptions over to a .def file that describes header of the language options. Use that .def file to declare the LangOptions class and initialize all of its members, eliminating a source of annoying initialization bugs.
AST serialization changes are next up.
llvm-svn: 139605
show more ...
|
#
5a6b6987 |
| 09-Sep-2011 |
Julien Lerouge <jlerouge@apple.com> |
Bring llvm.annotation* intrinsics support back to where it was in llvm-gcc: can annotate global, local variables, struct fields, or arbitrary statements (using the __builtin_annotation), rdar://80374
Bring llvm.annotation* intrinsics support back to where it was in llvm-gcc: can annotate global, local variables, struct fields, or arbitrary statements (using the __builtin_annotation), rdar://8037476.
llvm-svn: 139423
show more ...
|
#
7959fee2 |
| 09-Sep-2011 |
John McCall <rjmccall@apple.com> |
Treat the weak export of block runtime symbols as a deployment-target feature akin to the ARC runtime checks. Removes a terrible hack where IR gen needed to find the declarations of those symbols in
Treat the weak export of block runtime symbols as a deployment-target feature akin to the ARC runtime checks. Removes a terrible hack where IR gen needed to find the declarations of those symbols in the translation unit.
llvm-svn: 139404
show more ...
|
#
2169a75a |
| 09-Sep-2011 |
Argyrios Kyrtzidis <akyrtzi@gmail.com> |
Do a lookup for the blocks runtime globals to see if they were declared, instead of codegen waiting to consume such a declaration, which won't happen if that decls are coming from a PCH.
Fixes rdar:
Do a lookup for the blocks runtime globals to see if they were declared, instead of codegen waiting to consume such a declaration, which won't happen if that decls are coming from a PCH.
Fixes rdar://10028656.
llvm-svn: 139359
show more ...
|
#
e8bbc121 |
| 02-Sep-2011 |
Douglas Gregor <dgregor@apple.com> |
Extend the ASTContext constructor to delay the initialization of builtin types (When requested). This is another step toward making ASTUnit build the ASTContext as needed when loading an AST file, ra
Extend the ASTContext constructor to delay the initialization of builtin types (When requested). This is another step toward making ASTUnit build the ASTContext as needed when loading an AST file, rather than doing so after the fact. No actual functionality change (yet).
llvm-svn: 138985
show more ...
|
#
c55efe4f |
| 22-Aug-2011 |
Eli Friedman <eli.friedman@gmail.com> |
Make sure we don't inline functions marked with __attribute__((naked)). <rdar://problem/9973228>
llvm-svn: 138310
|
#
004df6e0 |
| 17-Aug-2011 |
Argyrios Kyrtzidis <akyrtzi@gmail.com> |
Mark objc methods that are implicitly declared for properties (not user-declared) as implicit. This results in libclang ignoring such methods.
llvm-svn: 137852
|
#
ffa30ab2 |
| 16-Aug-2011 |
Devang Patel <dpatel@apple.com> |
Finalize debug info after all deferred globals are emitted.
llvm-svn: 137750
|
#
e24d3247 |
| 15-Aug-2011 |
Devang Patel <dpatel@apple.com> |
Use new DIBuilder::finalize() at the end to wrap up debug info encoding for a translation unit.
llvm-svn: 137674
|
#
636e2006 |
| 09-Aug-2011 |
Douglas Gregor <dgregor@apple.com> |
Move the creation of the record type for the state of Objective-C fast enumerations from the ASTContext into CodeGen, so that we don't need to serialize it to AST files. This appears to be the last o
Move the creation of the record type for the state of Objective-C fast enumerations from the ASTContext into CodeGen, so that we don't need to serialize it to AST files. This appears to be the last of the low-hanging fruit for SpecialTypes.
llvm-svn: 137124
show more ...
|
#
abf4e0df |
| 09-Aug-2011 |
Douglas Gregor <dgregor@apple.com> |
Move the construction of the RecordDecl representing the runtime layout of a constant NSString from the ASTContext over to CodeGen, since this is solely CodeGen's responsibility. Eliminates one of th
Move the construction of the RecordDecl representing the runtime layout of a constant NSString from the ASTContext over to CodeGen, since this is solely CodeGen's responsibility. Eliminates one of the unnecessary "special" types that we serialize.
llvm-svn: 137121
show more ...
|
#
9b24df47 |
| 04-Aug-2011 |
John McCall <rjmccall@apple.com> |
Emit wide string literals with the appropriate alignment. Patch by Craig Topper and Sundeep!
llvm-svn: 136856
|
#
625ed88f |
| 03-Aug-2011 |
John McCall <rjmccall@apple.com> |
When rewriting a call to a K&R function to lead to a well-prototyped function, be sure to drop parameter attributes when dropping their associated arguments. Patch by Aaron Landwehr!
llvm-svn: 1367
When rewriting a call to a K&R function to lead to a well-prototyped function, be sure to drop parameter attributes when dropping their associated arguments. Patch by Aaron Landwehr!
llvm-svn: 136753
show more ...
|
#
e1d20991 |
| 27-Jul-2011 |
Peter Collingbourne <peter@pcc.me.uk> |
CodeGen: rename CodeGenModule::Runtime to ObjCRuntime
llvm-svn: 136254
|
#
fb65e592 |
| 27-Jul-2011 |
Douglas Gregor <dgregor@apple.com> |
Add support for C++0x unicode string and character literals, from Craig Topper!
llvm-svn: 136210
|
#
d48db211 |
| 25-Jul-2011 |
Chandler Carruth <chandlerc@gmail.com> |
Rename getInstantiationLineNumber to getExpansionLineNumber in both SourceManager and FullSourceLoc.
llvm-svn: 135969
|
#
84037d3d |
| 23-Jul-2011 |
Chris Lattner <sabre@nondot.org> |
fix PR10415, tidying up IR representation of module level inline asm to avoid extraneous \n's.
llvm-svn: 135862
|
#
54b1677d |
| 23-Jul-2011 |
Chris Lattner <sabre@nondot.org> |
Move ArrayRef to LLVM.h and eliminate now-redundant qualifiers, patch by Jon Mulder!
llvm-svn: 135855
|
#
0e62c1cc |
| 23-Jul-2011 |
Chris Lattner <sabre@nondot.org> |
remove unneeded llvm:: namespace qualifiers on some core types now that LLVM.h imports them into the clang namespace.
llvm-svn: 135852
|
#
a91768e5 |
| 22-Jul-2011 |
Jordy Rose <jediknil@belkadan.com> |
Add a const overload for ObjCInterfaceDecl::all_declared_ivar_begin. This was previously not-const only because it has to lazily construct a chain of ivars the first time it is called (and after the
Add a const overload for ObjCInterfaceDecl::all_declared_ivar_begin. This was previously not-const only because it has to lazily construct a chain of ivars the first time it is called (and after the chain is invalidated). In practice, all the clients were just const_casting their const Decls; all those now-unnecessary const_casts have been removed.
llvm-svn: 135741
show more ...
|
#
ed8db7d9 |
| 21-Jul-2011 |
Jay Foad <jay.foad@gmail.com> |
Convert ConstantExpr::getGetElementPtr and ConstantExpr::getInBoundsGetElementPtr to use ArrayRef.
llvm-svn: 135673
|
#
26da4ddf |
| 18-Jul-2011 |
Nick Lewycky <nicholas@mxc.ca> |
In C99, emit an inline function when encountering an extern redeclaration. Fixes PR10233!
llvm-svn: 135377
|
#
2192fe50 |
| 18-Jul-2011 |
Chris Lattner <sabre@nondot.org> |
de-constify llvm::Type, patch by David Blaikie!
llvm-svn: 135370
|