#
8f5d4423 |
| 29-Jun-2009 |
Douglas Gregor <dgregor@apple.com> |
Keep track of function template specializations, to eliminate redundant, implicit instantiations of function templates and provide a place where we can hang function template specializations.
llvm-s
Keep track of function template specializations, to eliminate redundant, implicit instantiations of function templates and provide a place where we can hang function template specializations.
llvm-svn: 74454
show more ...
|
#
70d83e27 |
| 29-Jun-2009 |
Douglas Gregor <dgregor@apple.com> |
Move FunctionDecl::TemplateSpecializationInfo out into its own class, FunctionTemplateSpecializationInfo, in DeclTemplate.h. No functionality change.
llvm-svn: 74431
|
#
248c719a |
| 23-Jun-2009 |
Fariborz Jahanian <fjahanian@apple.com> |
Patch fixes an obscure bug when 'used' attribute is applied to variables in ObjC's Next runtime mode. Next runtime also implicitly applies 'used' attribute on some of its meta-data. This results in t
Patch fixes an obscure bug when 'used' attribute is applied to variables in ObjC's Next runtime mode. Next runtime also implicitly applies 'used' attribute on some of its meta-data. This results in two 'llvm.used' arrays to be generated, and one of them is renamed to 'llvm.used1'.
llvm-svn: 74008
show more ...
|
#
fec52635 |
| 20-Jun-2009 |
Douglas Gregor <dgregor@apple.com> |
Parsing and AST support for using declarations, from John Thompson!
llvm-svn: 73812
|
#
78bd61f6 |
| 18-Jun-2009 |
Douglas Gregor <dgregor@apple.com> |
Move the static DeclAttrs map into ASTContext. Fixes <rdar://problem/6983177>.
llvm-svn: 73702
|
#
c4b766bc |
| 17-Jun-2009 |
Argyrios Kyrtzidis <akyrtzi@gmail.com> |
Move CXXMethodDecl::OutOfLineDefinition into Decl::OutOfLine.
llvm-svn: 73651
|
#
15ba9498 |
| 14-Jun-2009 |
Chris Lattner <sabre@nondot.org> |
Sink the BuiltinInfo object from ASTContext into the preprocessor and initialize it early in clang-cc. This ensures that __has_builtin works in all modes, not just when ASTContext is around.
llvm-s
Sink the BuiltinInfo object from ASTContext into the preprocessor and initialize it early in clang-cc. This ensures that __has_builtin works in all modes, not just when ASTContext is around.
llvm-svn: 73319
show more ...
|
#
ecd79c63 |
| 14-Jun-2009 |
Chris Lattner <sabre@nondot.org> |
move GetBuiltinType from Builtin::Context to ASTContext.
llvm-svn: 73316
|
#
8783543a |
| 11-Jun-2009 |
Anders Carlsson <andersca@mac.com> |
Don't assert when generating code with static_asserts.
llvm-svn: 73208
|
#
feeeda70 |
| 05-Jun-2009 |
Daniel Dunbar <daniel@zuster.org> |
weak_import should not make definitions have weak linkage. - <rdar://problem/6948703> clang treats weak_import like weak
llvm-svn: 72967
|
#
0261e5c9 |
| 04-Jun-2009 |
Chris Lattner <sabre@nondot.org> |
Make ReplaceUsesOfNonProtoTypeWithRealFunction verify that a call is *to* the function of interest, not an operand of it.
llvm-svn: 72869
|
#
0a63741a |
| 29-May-2009 |
Anders Carlsson <andersca@mac.com> |
Add code for emitting C++ destructors. Not used yet.
llvm-svn: 72591
|
#
895771aa |
| 26-May-2009 |
Eli Friedman <eli.friedman@gmail.com> |
Handle the edge case of a weak function with incomplete type correctly. Found by code inspection; I haven't seen this in real-world code.
llvm-svn: 72408
|
#
d3a69cea |
| 16-May-2009 |
Anders Carlsson <andersca@mac.com> |
extern "C" should preserve the 'extern' qualifier for VarDecls. Fixes 6853728.
llvm-svn: 71957
|
#
18bb9284 |
| 16-May-2009 |
Mike Stump <mrs@apple.com> |
Reflow some comments.
llvm-svn: 71937
|
#
37604a09 |
| 15-May-2009 |
Anders Carlsson <andersca@mac.com> |
A C++ member function always has either weak linkage (if it's inline or defined inline) or strong linkage (other cases).
llvm-svn: 71873
|
#
e0be0dfc |
| 12-May-2009 |
Chris Lattner <sabre@nondot.org> |
push GlobalDecl through enough of the CodeGenModule interfaces to allow us to support generation of deferred ctors/dtors. It looks like codegen isn't emitting a call to the dtor in member-functions.
push GlobalDecl through enough of the CodeGenModule interfaces to allow us to support generation of deferred ctors/dtors. It looks like codegen isn't emitting a call to the dtor in member-functions.cpp:test2, but when it does, its body should get emitted.
llvm-svn: 71594
show more ...
|
#
d035ebda |
| 12-May-2009 |
Chris Lattner <sabre@nondot.org> |
add an initial stab at emitting deferred c++ inline functions. This handles static functions and methods declared inline, but not ctors/dtors or methods not declared inline (apparently my previous p
add an initial stab at emitting deferred c++ inline functions. This handles static functions and methods declared inline, but not ctors/dtors or methods not declared inline (apparently my previous patch wasn't good enough).
llvm-svn: 71591
show more ...
|
#
eb7466d2 |
| 12-May-2009 |
Chris Lattner <sabre@nondot.org> |
cleanups, no functionality change.
llvm-svn: 71590
|
#
e7834115 |
| 12-May-2009 |
Chris Lattner <sabre@nondot.org> |
revert my previous patch, I committed the wrong file.
llvm-svn: 71585
|
#
cd74ffa3 |
| 12-May-2009 |
Chris Lattner <sabre@nondot.org> |
static methods don't get this pointers.
llvm-svn: 71583
|
#
36797ab2 |
| 05-May-2009 |
Chris Lattner <sabre@nondot.org> |
When defining a function whose type has no prototype, make an effort to go back and clean up existing uses of the bitcasted function. This is not just an optimization: it is required for correctness
When defining a function whose type has no prototype, make an effort to go back and clean up existing uses of the bitcasted function. This is not just an optimization: it is required for correctness to get always inline functions to work, see testcases in function-attributes.c.
llvm-svn: 70971
show more ...
|
#
dae1abc7 |
| 05-May-2009 |
Anders Carlsson <andersca@mac.com> |
Refactor global decls to hold either a regular Decl or a CXXConstructorDecl + ctor type or a CXXDestructorDecl + dtor type.
llvm-svn: 70962
|
#
5a3b1b0f |
| 03-May-2009 |
Eli Friedman <eli.friedman@gmail.com> |
Fix comment to account for r70786.
llvm-svn: 70789
|
#
c0042d80 |
| 03-May-2009 |
Eli Friedman <eli.friedman@gmail.com> |
PR4133: fix always_inline implementation to be consistent with gcc.
llvm-svn: 70786
|