- Apr 01, 2009
-
-
Chris Lattner authored
types get completed when their definition is seen if previously laid out by the code generator. llvm-svn: 68177
-
Chris Lattner authored
llvm-svn: 68176
-
Chris Lattner authored
llvm-svn: 68174
-
Mike Stump authored
llvm-svn: 68171
-
Anders Carlsson authored
llvm-svn: 68170
-
Chris Lattner authored
rdar://6740292 llvm-svn: 68169
-
Anders Carlsson authored
Fix a bug (that I thought I had fixed already) where mangling a prefix could get us into an infinite loop llvm-svn: 68168
-
Douglas Gregor authored
specifiers that terminate in a simple-template-id, e.g., typename MetaFun::template apply<T1, T2> Also, implement template instantiation for dependent nested-name-specifiers that involve unresolved identifiers, e.g., typename T::type::type llvm-svn: 68166
-
Daniel Dunbar authored
llvm-svn: 68165
-
Anders Carlsson authored
llvm-svn: 68162
-
Daniel Dunbar authored
- Notably, set section on cfstring literal string data (for now, this is done everywhere because it matches what we were already doing for the CFString data itself) - <rdar://problem/6599098> [irgen] linker requires objc string data to go into cstring llvm-svn: 68160
-
Ted Kremenek authored
llvm-svn: 68157
-
Chris Lattner authored
attribute(used) and asm renaming are used together. llvm-svn: 68155
-
Chris Lattner authored
llvm-svn: 68151
-
- Mar 31, 2009
-
-
Daniel Dunbar authored
- PR3875. - <rdar://problem/6615249> [driver] ccc should support some form of --help llvm-svn: 68148
-
Daniel Dunbar authored
Also, removed default value for getOptionMetaVar. llvm-svn: 68146
-
Daniel Dunbar authored
the preprocessor. - PR3602. - As is inherent in the blanket forwarding options, this will only work if clang-cc happens to accept what the user passed. Users by and large should use driver options to interact with the preprocessor, if at all possible. llvm-svn: 68144
-
Ted Kremenek authored
refactoring to make this possible (no functionality change). llvm-svn: 68141
-
Douglas Gregor authored
llvm-svn: 68140
-
Daniel Dunbar authored
- Currently unused. And yes, now may be about the time I want a TableGen backend. llvm-svn: 68139
-
Daniel Dunbar authored
- Current return-arguments-32 status: 15/1000 failures llvm-svn: 68132
-
Douglas Gregor authored
template template parameters and dependent template names. For example, the oft-mentioned typename MetaFun::template apply<T1, T2>::type can now be instantiated, with the appropriate name lookup for "apply". llvm-svn: 68128
-
Fariborz Jahanian authored
Patch by David Chisnal. llvm-svn: 68125
-
Fariborz Jahanian authored
llvm-svn: 68122
-
Daniel Dunbar authored
- Patch by Ed Schouten! llvm-svn: 68121
-
Daniel Dunbar authored
- Always pass -triple to clang-cc (-arch will be removed). - clang-cc doesn't play guess work with the target triple anymore. llvm-svn: 68119
-
Fariborz Jahanian authored
llvm-svn: 68115
-
Steve Naroff authored
Changed GenerateConstantString() to take an ObjCStringLiteral (instead of a std::string). While this isn't strictly necessary, it seems cleaner and allows us to cache to "containsNonAscii" if necessary (to avoid checking in both Sema and CodeGen). llvm-svn: 68114
-
Douglas Gregor authored
llvm-svn: 68110
-
Steve Naroff authored
llvm-svn: 68107
-
Chris Lattner authored
In a case like: @class foo; foo *P; addRecordToClass was making an empty shadow struct for the foo interface and completing it. Later when an: @interface foo ... @endif foo *Q; was seen, ASTContext::addRecordToClass would think that foo was already laid out and not lay out the definition. This fixes it to create a forward declared struct the first time around, then complete it when the definition is seen. Note that this causes two tests to regress, because something is trying to get the size of the forward declared structs returned by this. Previously, this would end up getting a size of zero but now it properly dies. I'm not sure what the right solution is for this, so I xfailed the tests. Fariborz, please take a look at this. The testcase in rdar://6676794 now gets farther, but dies later because the objc ivar is not assigned a field number. As an aside, I really don't like the fact that the objc front-end is creating shadow C structs for ObjC types. This seems like an implementation detail of the code generator that could be fixed by better factoring of the extant code. llvm-svn: 68106
-
Chris Lattner authored
llvm-svn: 68105
-
Chris Lattner authored
is run for perfectly reasonable things like NSString* because type layout is recursive. llvm-svn: 68104
-
Chris Lattner authored
llvm-svn: 68103
-
Chris Lattner authored
llvm-svn: 68102
-
Chris Lattner authored
Fix BuildAggrIvarLayout to not access vectors out of range. llvm-svn: 68101
-
Chris Lattner authored
llvm-svn: 68098
-
Chris Lattner authored
llvm-svn: 68095
-
Chris Lattner authored
llvm-svn: 68094
-
Chris Lattner authored
llvm-svn: 68091
-