- May 22, 2010
-
-
Eric Christopher authored
llvm-svn: 104414
-
Ted Kremenek authored
llvm-svn: 104413
-
Devang Patel authored
llvm-svn: 104412
-
Eric Christopher authored
llvm-svn: 104411
-
Bob Wilson authored
llvm-svn: 104410
-
Douglas Gregor authored
the required "template" keyword, using the same heuristics we do for dependent template names in member access expressions, e.g., test/SemaTemplate/dependent-template-recover.cpp:11:8: error: use 'template' keyword to treat 'getAs' as a dependent template name T::getAs<U>(); ^ template Fixes PR5404. llvm-svn: 104409
-
Eric Christopher authored
Evan please verify! llvm-svn: 104408
-
Fariborz Jahanian authored
for variable arguments list methods. (radar 8006060). llvm-svn: 104407
-
Douglas Gregor authored
that is missing the 'template' keyword, e.g., t->getAs<T>() where getAs is a member of an unknown specialization. C++ requires that we treat "getAs" as a value, but that would fail to parse since T is the name of a type. We would then fail at the '>', since a type cannot be followed by a '>'. This is a very common error for C++ programmers to make, especially since GCC occasionally allows it when it shouldn't (as does Visual C++). So, when we are in this case, we use tentative parsing to see if the tokens starting at "<" can only be parsed as a template argument list. If so, we produce a diagnostic with a fix-it that states that the 'template' keyword is needed: test/SemaTemplate/dependent-template-recover.cpp:5:8: error: 'template' keyword is required to treat 'getAs' as a dependent template name t->getAs<T>(); ^ template This is just a start of this patch; I'd like to apply the same approach to everywhere that a template-id with dependent template name can be parsed. llvm-svn: 104406
-
Chris Lattner authored
llvm-svn: 104404
-
Nick Lewycky authored
whitespace at the end of lines since I'm already touching the whole file anyways. llvm-svn: 104403
-
Eric Christopher authored
llvm-svn: 104396
-
Kevin Enderby authored
llvm-svn: 104394
-
Eric Christopher authored
llvm-svn: 104392
-
Chris Lattner authored
llvm-svn: 104391
-
Anders Carlsson authored
llvm-svn: 104390
-
- May 21, 2010
-
-
Ted Kremenek authored
in the ASTs. Fixes <rdar://problem/8015556>. llvm-svn: 104389
-
Ted Kremenek authored
in the Objective-C memory checker. llvm-svn: 104388
-
Anders Carlsson authored
Rename CodeGenFunction::EmitMemSetToZero to EmitNullInitialization. Handle setting null data member pointers correctly. Fixes PR7139. llvm-svn: 104387
-
Douglas Gregor authored
be sure to merge its parameter scope with its parent's scope. Fixes PR7184. llvm-svn: 104386
-
Evan Cheng authored
Allow machine cse to cse instructions which define physical registers. Controlled by option -machine-cse-phys-defs. llvm-svn: 104385
-
Chris Lattner authored
llvm-svn: 104383
-
Abramo Bagnara authored
llvm-svn: 104382
-
Eric Christopher authored
llvm-svn: 104381
-
Bob Wilson authored
so that it will continue to test what it was meant to test when I commit a separate change for better support of BUILD_VECTOR and VECTOR_SHUFFLE for Neon. Fix a DAG combiner crash exposed by this test change. llvm-svn: 104380
-
Chris Lattner authored
llvm-svn: 104379
-
Chris Lattner authored
now done and no more patches to it will be accepted. llvm-svn: 104378
-
Evan Cheng authored
that are aliases of the specified register. - Rename modifiesRegister to definesRegister since it's looking a def of the specific register or one of its super-registers. It's not looking for def of a sub-register or alias that could change the specified register. - Added modifiesRegister to look for defs of aliases. llvm-svn: 104377
-
John McCall authored
Fixes <rdar://problem/7987650>. llvm-svn: 104376
-
Ted Kremenek authored
within the increment code of a for loop. llvm-svn: 104375
-
Douglas Gregor authored
CXXBasePaths::isAmbiguous(), rather than just asserting that we have a canonical type. Fixes PR7176. llvm-svn: 104374
-
Chris Lattner authored
Steven Watanabe! llvm-svn: 104373
-
Jakob Stoklund Olesen authored
reads or writes a register. This takes partial redefines and undef uses into account. Don't actually use it yet. That caused miscompiles. llvm-svn: 104372
-
Benjamin Kramer authored
llvm-svn: 104371
-
Devang Patel authored
llvm-svn: 104338
-
Dale Johannesen authored
llvm-svn: 104337
-
Dale Johannesen authored
Case where MMX is disabled wasn't handled right. MMX->MMX bitconverts are Legal. llvm-svn: 104336
-
Douglas Gregor authored
emitted the increment expression. Fixes PR7189. If someone knows how to write a useful test for this, I'd be grateful. llvm-svn: 104335
-
Nathan Jeffords authored
If the size of the string is greater than the zero fill size, the function will attempt to write a very large string of zeros to the object file (~4GB on 32 bit platforms). This assertion will catch the scenario and crash the program before the write occurs. llvm-svn: 104334
-
Chris Lattner authored
pass after isel instead of being interlaced with it, we can trust that all the code for a function has been isel'd before it is run. The practical impact of this is that we can scan for machine instr phis instead of doing a fuzzy match on the LLVM BB for phi nodes. Doing the fuzzy match required knowing when isel would produce an fp reg stack phi which was gross. It was also wrong in cases where select got lowered to a branch tree because cmovs aren't available (PR6828). Just do the scan on machine phis which is simpler, faster and more correct. This fixes PR6828. llvm-svn: 104333
-