- Apr 01, 2009
-
-
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
-
Chris Lattner authored
disable this feature for now, to err on the side of rejecting instead of sometimes crashing. rdar://6326239 llvm-svn: 68088
-
Douglas Gregor authored
within nested-name-specifiers, e.g., for the "apply" in typename MetaFun::template apply<T1, T2>::type At present, we can't instantiate these nested-name-specifiers, so our testing is sketchy. llvm-svn: 68081
-
Fariborz Jahanian authored
llvm-svn: 68077
-
Steve Naroff authored
Implement UCN support for C string literals (C99 6.4.3) and add some very basic tests. Chris Goller has graciously offered to write some test to help validate UCN support. From a front-end perspective, I believe this code should work for ObjC @-strings. At the moment, I believe we need to tweak the code generation for @-strings (which doesn't appear to handle them). Will be investigating. llvm-svn: 68076
-
Eli Friedman authored
llvm-svn: 68075
-
Douglas Gregor authored
representation handles the various ways in which one can name a template, including unqualified references ("vector"), qualified references ("std::vector"), and dependent template names ("MetaFun::template apply"). One immediate effect of this change is that the representation of nested-name-specifiers in type names for class template specializations (e.g., std::vector<int>) is more accurate. Rather than representing std::vector<int> as std::(vector<int>) we represent it as (std::vector)<int> which more closely follows the C++ grammar. Additionally, templates are no longer represented as declarations (DeclPtrTy) in Parse-Sema interactions. Instead, I've introduced a new OpaquePtr type (TemplateTy) that holds the representation of a TemplateName. This will simplify the handling of dependent template-names, once we get there. llvm-svn: 68074
-
Ted Kremenek authored
assume that @catch blocks are never executed. llvm-svn: 68072
-
Ted Kremenek authored
it. Will discuss offline whether symbolic regions should by typed or typeless. llvm-svn: 68070
-
Daniel Dunbar authored
llvm-svn: 68069
-
- Mar 30, 2009
-
-
Ted Kremenek authored
llvm-svn: 68068
-