- Apr 01, 2009
-
-
Daniel Dunbar authored
- Current return-arguments-32 status is: 8 out of 1000 failures (-7) llvm-svn: 68192
-
Daniel Dunbar authored
- <rdar://problem/6741594> [pth] don't abuse -x to drive pth generation - Simpler, and fixes PR3915. Cleanup test cases for PTH: - Update to use -emit-pth - Removed PTH test of carbon.c and cocoa.mm; these didn't actually verify anything, and since PTH is token based the extra coverage (over cocoa.m) isn't particularly helpful. - Split PTH tests in cocoa.m to cocoa-pth.m, solely to increase available parallelism when running tests. Ted, could you update the PTH test cases (include-pth.c and cocoa-pth.m) to have some sort of positive check that the PTH is getting used? "# of PTH cache hits" or "tokens read from PTH cache" statistics would work great. :) llvm-svn: 68189
-
Daniel Dunbar authored
- <rdar://problem/6732143> Crash when generating @synchronize for zero-cost exception - Thanks to Anders for helping track down the problem. llvm-svn: 68186
-
Daniel Dunbar authored
case. llvm-svn: 68182
-
Eli Friedman authored
llvm-svn: 68181
-
Eli Friedman authored
llvm-svn: 68179
-
Chris Lattner authored
types get completed when their definition is seen if previously laid out by the code generator. llvm-svn: 68177
-
Mike Stump authored
llvm-svn: 68171
-
Anders Carlsson authored
llvm-svn: 68170
-
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
-
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
-
Chris Lattner authored
attribute(used) and asm renaming are used together. llvm-svn: 68155
-
- Mar 31, 2009
-
-
Douglas Gregor authored
llvm-svn: 68136
-
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
llvm-svn: 68122
-
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
-
Steve Naroff authored
llvm-svn: 68117
-
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
disable this feature for now, to err on the side of rejecting instead of sometimes crashing. rdar://6326239 llvm-svn: 68088
-
Anders Carlsson authored
llvm-svn: 68086
-
Ted Kremenek authored
llvm-svn: 68084
-
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
-
- Mar 30, 2009
-
-
Ted Kremenek authored
handles declarations with multiple variables. llvm-svn: 68046
-
Daniel Dunbar authored
- <rdar://problem/6726511> [driver] clang does not have -msoft-float hooked up. llvm-svn: 68044
-
Daniel Dunbar authored
llvm-svn: 68042
-
Daniel Dunbar authored
llvm-svn: 68029
-
Daniel Dunbar authored
- Not particularly elegant, but my hand is forced by gcc. Also, tweak -ccc-print-bindings output. llvm-svn: 68027
-
Daniel Dunbar authored
- Rip out various bits of logic from clang-cc's dependency file gen, force driver to provide instead. - -MD output now goes to proper location <rdar://problem/6723948> clang -MD puts dep file in /tmp with wrong name - -M and -MM still don't work correctly. llvm-svn: 68022
-
Daniel Dunbar authored
tools, and enable them. llvm-svn: 68019
-
- Mar 29, 2009
-
-
Chris Lattner authored
into ParseForStatement. Merge two tests into one. llvm-svn: 68010
-
Chris Lattner authored
into ParseSimpleDeclaration, and improve a diagnostic. llvm-svn: 68009
-
Sebastian Redl authored
Reintroduce r67870 (rval ref overloading), since I can't reproduce any test failures on i386 or x86_64. If this fails for someone, please contact me. llvm-svn: 67999
-
Anders Carlsson authored
More improvements to namespace aliases. We now support everything except aliases in using directives. llvm-svn: 67966
-
Anders Carlsson authored
llvm-svn: 67964
-
- Mar 28, 2009
-
-
Ted Kremenek authored
<rdar://problem/6732151>. llvm-svn: 67954
-