- Jul 14, 2009
-
-
Devang Patel authored
llvm-svn: 75684
-
Devang Patel authored
llvm-svn: 75589
-
- Jul 13, 2009
-
-
Owen Anderson authored
llvm-svn: 75446
-
- Jul 08, 2009
-
-
Owen Anderson authored
llvm-svn: 75028
-
Owen Anderson authored
llvm-svn: 74986
-
- Jun 30, 2009
-
-
Argyrios Kyrtzidis authored
Remove ASTContext parameter from DeclContext's methods. This change cascaded down to other Decl's methods and changes to call sites started "escalating". Timings using pre-tokenized "cocoa.h" showed only a ~1% increase in time run between and after this commit. llvm-svn: 74506
-
Argyrios Kyrtzidis authored
Timings showed no significant difference before and after the commit. llvm-svn: 74504
-
Argyrios Kyrtzidis authored
The implementations of these methods can Use Decl::getASTContext() to get the ASTContext. This commit touches a lot of files since call sites for these methods are everywhere. I used pre-tokenized "carbon.h" and "cocoa.h" headers to do some timings, and there was no real time difference between before the commit and after it. llvm-svn: 74501
-
Douglas Gregor authored
- Track implicit instantiations vs. the not-yet-supported explicit specializations - Give implicit instantiations of function templates (and member functions of class templates) linkonce_odr linkage. - Improve name mangling for function template specializations, including the template arguments of the instantiation and the return type of the function. Note that our name-mangling is improved, but not correct: we still don't mangle substitutions, although the manglings we produce can be demangled. llvm-svn: 74466
-
- Jun 29, 2009
-
-
Douglas Gregor authored
redundant, implicit instantiations of function templates and provide a place where we can hang function template specializations. llvm-svn: 74454
-
Douglas Gregor authored
FunctionTemplateSpecializationInfo, in DeclTemplate.h. No functionality change. llvm-svn: 74431
-
- Jun 23, 2009
-
-
Fariborz Jahanian authored
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
-
- Jun 20, 2009
-
-
Douglas Gregor authored
llvm-svn: 73812
-
- Jun 18, 2009
-
-
-
Argyrios Kyrtzidis authored
llvm-svn: 73651
-
- Jun 14, 2009
-
-
Chris Lattner authored
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
-
Chris Lattner authored
llvm-svn: 73316
-
- Jun 11, 2009
-
-
Anders Carlsson authored
llvm-svn: 73208
-
- Jun 06, 2009
-
-
Daniel Dunbar authored
- <rdar://problem/6948703> clang treats weak_import like weak llvm-svn: 72967
-
- Jun 04, 2009
-
-
Chris Lattner authored
function of interest, not an operand of it. llvm-svn: 72869
-
- May 29, 2009
-
-
Anders Carlsson authored
llvm-svn: 72591
-
- May 26, 2009
-
-
Eli Friedman authored
Found by code inspection; I haven't seen this in real-world code. llvm-svn: 72408
-
- May 16, 2009
-
-
Anders Carlsson authored
llvm-svn: 71957
-
Mike Stump authored
llvm-svn: 71937
-
- May 15, 2009
-
-
Anders Carlsson authored
A C++ member function always has either weak linkage (if it's inline or defined inline) or strong linkage (other cases). llvm-svn: 71873
-
- May 12, 2009
-
-
Chris Lattner authored
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
-
Chris Lattner authored
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
-
Chris Lattner authored
llvm-svn: 71590
-
Chris Lattner authored
llvm-svn: 71585
-
Chris Lattner authored
llvm-svn: 71583
-
- May 05, 2009
-
-
Chris Lattner authored
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
-
Anders Carlsson authored
Refactor global decls to hold either a regular Decl or a CXXConstructorDecl + ctor type or a CXXDestructorDecl + dtor type. llvm-svn: 70962
-
- May 03, 2009
-
-
Eli Friedman authored
llvm-svn: 70789
-
Eli Friedman authored
llvm-svn: 70786
-
- Apr 28, 2009
-
-
Douglas Gregor authored
mode and in the presence of __gnu_inline__ attributes. This should fix both PR3989 and PR4069. As part of this, we now keep track of all of the attributes attached to each declaration even after we've performed declaration merging. This fixes PR3264. llvm-svn: 70292
-
- Apr 23, 2009
-
-
Douglas Gregor authored
multiple declarations of the function. Should fix PR3989 and <rdar://problem/6818429>. llvm-svn: 69905
-
Douglas Gregor authored
methods, class methods, and property implementations) and instead place all of these entities into the DeclContext. This eliminates more linear walks when looking for class or instance methods and should make PCH (de-)serialization of ObjCDecls trivial (and lazy). llvm-svn: 69849
-
- Apr 22, 2009
-
-
Daniel Dunbar authored
- This has pros and cons, but for now the pros seem to significantly outway the con. The con is that we will always need to cast in the runtime implementation to a struct type, if we wish to access an interface directly. The pros are: - Avoid the cost of generating types which are used. Most manipulation of Objective-C objects is done through messages, and only the implementation of a class will directly access memory. Previously, we would convert the type even if it only appear as a function parameter, for example. - We don't need to worry about incomplete types, and UpdateCompletedType for interfaces is gone. - It becomes easier to narrow the interface to the shadow struct for Objective-C interfaces (so it can be eliminated). Currently the runtimes still use the CodeGenTypes machinery to generate the LLVM structure they need via ConvertTagDecl, but this can eventually be replaced. llvm-svn: 69797
-
Chris Lattner authored
extern. Previously we would warn about it and ignore the attribute. This is incorrect, it should be handled as a c89 "extern inline" function. Many thanks to Matthieu Castet for pointing this out and beating me over the head until I got it. PR3988: extern inline function are not externally visible llvm-svn: 69756
-
- Apr 21, 2009
-
-
Douglas Gregor authored
llvm-svn: 69699
-