- Apr 15, 2011
-
-
Richard Smith authored
llvm-svn: 129541
-
- Apr 14, 2011
-
-
Richard Smith authored
Detect when the string "<::" is found in code after a cast or template name and is interpreted as "[:" because of the digraph "<:". When found, give an error with a fix-it to add whitespace between the "<" and "::". Patch by Richard Trieu! Plus a small tweak from me to deal with one of the tokens coming from a macro. llvm-svn: 129540
-
Douglas Gregor authored
statement, and expression pointers. While these shouldn't happen, it's better to be safe in libclang. llvm-svn: 129539
-
Owen Anderson authored
Fix an infinite alternation in JumpThreading where two transforms would repeatedly undo each other. The solution is to perform more aggressive constant folding to make one of the edges just folded away rather than trying to thread it. Fixes <rdar://problem/9284786>. Discovered with CSmith. llvm-svn: 129538
-
Fariborz Jahanian authored
// rdar://9208404 llvm-svn: 129536
-
Douglas Gregor authored
completion, look through block pointer and function pointer types to the result type of the block/function. Fixes <rdar://problem/9282583>. llvm-svn: 129535
-
Anton Korobeynikov authored
AAPCS+VFP), similar to fastcall / stdcall / whatevercall seen on x86. In particular, all library functions should always be AAPCS regardless of floating point ABI used. llvm-svn: 129534
-
Richard Smith authored
Name mangling of late-specified return types doesn't work if the return type references the argument types: template<typename T> auto f(T a) -> decltype(a.foo()); Since this is the primary reason for the introduction of this feature, downgrade implementation status to "Some examples work". llvm-svn: 129533
-
Mon P Wang authored
llvm-svn: 129532
-
Johnny Chen authored
llvm-svn: 129531
-
Chris Lattner authored
llvm-svn: 129527
-
Richard Smith authored
llvm-svn: 129525
-
Owen Anderson authored
llvm-svn: 129522
-
Douglas Gregor authored
diagnosing it as an error rather than looping infinitely. Also, explicitly disallow @defs in Objective-C++. Fixes <rdar://problem/9260136>. llvm-svn: 129521
-
Howard Hinnant authored
llvm-svn: 129520
-
Daniel Dunbar authored
llvm-svn: 129519
-
Rafael Espindola authored
size of the clang binary in Debug builds from 690MB to 679MB. llvm-svn: 129518
-
Michael J. Spencer authored
llvm-svn: 129517
-
Sebastian Redl authored
Chained PCH: Remember when additional specializations are added to a function template from a previous PCH. Fixes the only crasher when using massive chains on Clang's Sema component. We still have some incomplete codegen there. llvm-svn: 129516
-
Sebastian Redl authored
llvm-svn: 129515
-
Sebastian Redl authored
llvm-svn: 129514
-
Sebastian Redl authored
The ASTReader created by -chain-include used the generated PCH buffers in the wrong order. The effect was that all but the first chain-include files was ignored for subsequent compilations. llvm-svn: 129513
-
Mon P Wang authored
llvm-svn: 129509
-
Andrew Trick authored
This is done by pushing physical register definitions close to their use, which happens to handle flag definitions if they're not glued to the branch. This seems to be generally a good thing though, so I didn't need to add a target hook yet. The primary motivation is to generate code closer to what people expect and rule out missed opportunity from enabling macro-op fusion. As a side benefit, we get several 2-5% gains on x86 benchmarks. There is one regression: SingleSource/Benchmarks/Shootout/lists slows down be -10%. But this is an independent scheduler bug that will be tracked separately. See rdar://problem/9283108. Incidentally, pre-RA scheduling is only half the solution. Fixing the later passes is tracked by: <rdar://problem/8932804> [pre-RA-sched] on x86, attempt to schedule CMP/TEST adjacent with condition jump Fixes: <rdar://problem/9262453> Scheduler unnecessary break of cmp/jump fusion llvm-svn: 129508
-
Andrew Trick authored
I've used it a few times to reduce unit tests and gotten one request for information on it. It's not easy to use correctly because bugpoint doesn't tell you when you're doing it wrong. llvm-svn: 129507
-
Chris Lattner authored
improvements, that will lead to fixing PR6627. llvm-svn: 129504
-
Chris Lattner authored
llvm-svn: 129503
-
Chris Lattner authored
instruction around, reducing work. Greatly simplify handling of debug instructions. There is no need to build up a vector of them and then move them into the one predecessor if we're processing a block. Instead just rescan the block and *copy* them into the pred. If a block gets merged into multiple preds, this will retain more debug info. llvm-svn: 129502
-
Chris Lattner authored
llvm-svn: 129501
-
Sean Callanan authored
tables. llvm-svn: 129500
-
Ted Kremenek authored
llvm-svn: 129499
-
Bill Wendling authored
(movzx/movsx) because they give more information. Revert that part of the patch. llvm-svn: 129498
-
Bill Wendling authored
cases, it's much nicer and more informative reading the alias. llvm-svn: 129497
-
Ken Dyck authored
functionality intended. llvm-svn: 129496
-
Eli Friedman authored
DiagnosticBuilder::AddFixItHint: they will be dropped along with any other (possibly valid) fixits later. llvm-svn: 129495
-
Argyrios Kyrtzidis authored
named by the nested-name-specifier is same or base of the class in which the member expression appears. It seems we also had an ill-formed test case, mon dieu! Fixes rdar://8576107. llvm-svn: 129493
-
-
Ken Dyck authored
in functionality intended. llvm-svn: 129491
-
Anders Carlsson authored
is 1 element smaller than the string, because we can just strip off the last null character. This matches GCC. llvm-svn: 129490
-
Nick Kledzik authored
llvm-svn: 129489
-