- May 12, 2012
-
-
Benjamin Kramer authored
Currently cold functions are marked with the "optsize" attribute in CodeGen so they are always optimized for size. The hot attribute is just ignored, LLVM doesn't have a way to express hotness at the moment. llvm-svn: 156723
-
Jordy Rose authored
Once we've found a "good" method, we don't need to check its argument types again. (Even if we might have later found a "bad" method, we were already caching the method we first looked up.) llvm-svn: 156719
-
Jordy Rose authored
llvm-svn: 156718
-
Jordy Rose authored
llvm-svn: 156717
-
Rafael Espindola authored
llvm-svn: 156715
-
Jordy Rose authored
Also, unify some diagnostics for boxed expressions that have the same form. Fixes PR12804. llvm-svn: 156713
-
Jordy Rose authored
llvm-svn: 156699
-
Douglas Gregor authored
attribute, rather than requiring multiple cases in consumers of this information. llvm-svn: 156666
-
Anna Zaks authored
llvm-svn: 156661
-
Douglas Gregor authored
__attribute__((aligned)). Fixes <rdar://problem/11435441>, a regression I introduced in r156003. This is the narrow fix; a more comprehensive fix is coming. llvm-svn: 156657
-
Richard Smith authored
the correct type and the correct source location in the diagnostic. Spotted by Johannes Schaub! llvm-svn: 156654
-
Matt Beaumont-Gay authored
llvm-svn: 156653
-
- May 11, 2012
-
-
Akira Hatanaka authored
register size of the target architecture. llvm-svn: 156650
-
Argyrios Kyrtzidis authored
file buffer, not at the start of lexing. Fixes assertion hit in format diagnostics. rdar://11418366 llvm-svn: 156647
-
Akira Hatanaka authored
A vector should be returned via the hidden pointer argument except if its size is equal to or smaller than 16-bytes and the target ABI is N32 or N64. llvm-svn: 156642
-
Sirish Pande authored
llvm-svn: 156630
-
Richard Smith authored
which expects exactly one argument, include the name of the argument in the diagnostic text. Patch by Terry Long! llvm-svn: 156607
-
Rafael Espindola authored
llvm-svn: 156597
-
Eric Christopher authored
compilers and expected defaults. Part of rdar://11325849 llvm-svn: 156592
-
Argyrios Kyrtzidis authored
numberWithBool:/numberWithInteger:/numberWithUnsignedInteger: NSNumber selectors. rdar://11428703 llvm-svn: 156583
-
Ted Kremenek authored
llvm-svn: 156582
-
Ted Kremenek authored
a horrible bug in GetLazyBindings where we falsely appended a field suffix when traversing 3 or more layers of lazy bindings. I don't have a reduced test case yet; but I have added the original source to an internal regression test suite. I'll see about coming up with a reduced test case. Fixes <rdar://problem/11405978> (for real). llvm-svn: 156580
-
- May 10, 2012
-
-
Anna Zaks authored
to reason about. As part of taint propagation, we now allow creation of non-integer symbolic expressions like a cast from int to float. Addresses PR12511 (radar://11215362). llvm-svn: 156578
-
Sirish Pande authored
llvm-svn: 156567
-
Argyrios Kyrtzidis authored
rdar://11426994 llvm-svn: 156565
-
Argyrios Kyrtzidis authored
llvm-svn: 156564
-
Argyrios Kyrtzidis authored
Fixes assertion hit in the preprocessing record. rdar://11426523 llvm-svn: 156557
-
Argyrios Kyrtzidis authored
from the frontend when the location is invalid and the SourceManager null. Instead of keeping the SourceManager object in DiagnosticRenderer, propagate it to the calls accordingly (as reference when it is expected to not be null, or pointer when it may be null). This effectively makes DiagnosticRenderer not tied to a specific SourceManager, removing a hack from TextDiagnosticPrinter. rdar://11386874 llvm-svn: 156536
-
Rafael Espindola authored
llvm-svn: 156534
-
Rafael Espindola authored
// FIXME: This needs to happen before we merge declarations. Then, // let attribute merging cope with attribute conflicts. This was already being done for variables, but for functions we were merging then first and then applying the attributes. To avoid duplicating merging logic, some of the helpers in SemaDeclAttr.cpp become methods that can handle merging two attributes in one decl or inheriting attributes from one decl to another. With this change we are now able to produce errors for variables with incompatible visibility attributes or warn about unused dllimports in variables. This changes the attribute list iteration back to being in reverse source code order, as that matches what decl merging does and avoids differentiating the two cases is the merge*Attr methods. llvm-svn: 156531
-
Anna Zaks authored
We report a leak at a point a leaked variable is no longer accessible. The statement that happens to be at that point is not relevant to the leak diagnostic and, thus, should not be highlighted. radar://11178519 llvm-svn: 156530
-
- May 09, 2012
-
-
Fariborz Jahanian authored
'*' on objective-c class name was misplaced. // rdar://11311333 llvm-svn: 156517
-
Richard Trieu authored
-Wconditional-uninitialized into -Wuninitialized. llvm-svn: 156512
-
Richard Smith authored
parser, and use it to emit better diagnostics in cases where an identifer can't be looked up as a type name. llvm-svn: 156508
-
Richard Smith authored
normal parse for token sequences like 'vector pixel foo'. This incidentally also fixes a couple of wrong-parse issues. llvm-svn: 156503
-
Chad Rosier authored
llvm-svn: 156502
-
Chad Rosier authored
llvm-svn: 156501
-
Chad Rosier authored
llvm-svn: 156498
-
Chad Rosier authored
llvm-svn: 156497
-
David Blaikie authored
Also, add an anchor as per http://llvm.org/docs/CodingStandards.html#ll_virtual_anch llvm-svn: 156495
-