- Mar 15, 2012
-
-
Fariborz Jahanian authored
and metadata for "non-lazy" class and categories. llvm-svn: 152751
-
Richard Smith authored
scoped enumeration members. Later uses of an enumeration temploid as a nested name specifier should cause its instantiation. Plus some groundwork for explicit specialization of member enumerations of class templates. llvm-svn: 152750
-
Matt Beaumont-Gay authored
(Why are we keeping all of this code around anyway? Say the word and I'll start swinging the delete hammer.) llvm-svn: 152749
-
Dan Gohman authored
should be ignored by ARC optimization, don't insert new ARC runtime calls in the unwind destination. llvm-svn: 152748
-
Kostya Serebryany authored
llvm-svn: 152747
-
Francois Pichet authored
Commit r152704 exposed a latent MSVC limitation (aka bug). Both ilist and and iplist contains the same function: template<class InIt> void insert(iterator where, InIt first, InIt last) { for (; first != last; ++first) insert(where, *first); } Also ilist inherits from iplist and ilist contains a "using iplist<NodeTy>::insert". MSVC doesn't know which one to pick and complain with an error. I think it is safe to delete ilist::insert since it is redundant anyway. llvm-svn: 152746 -
David Blaikie authored
Like GCC, provide a NULL conversion to non-pointer conversion as a separate flag, on by default. GCC's flag is "conversion-null" which we provide for cross compatibility, but in the interests of consistency (with -Wint-conversion, -Wbool-conversion, etc) the canonical Clang flag is called -Wnull-conversion. Patch by Lubos Lunak. Review feedback by myself, Chandler Carruth, and Chad Rosier. llvm-svn: 152745
-
Fariborz Jahanian authored
for misc. objc meta-data. llvm-svn: 152743
-
Anna Zaks authored
llvm-svn: 152742
-
rdar://problem/11049371Greg Clayton authored
http://llvm.org/bugs/show_bug.cgi?id=12232 Fixed a case where a missing "break" in a switch statement could cause an assertion to fire and kill the debug session. The fix was derived from the findings of Andrea Bigagli, thanks Andrea. llvm-svn: 152741
-
Aaron Ballman authored
llvm-svn: 152740
-
Nick Lewycky authored
qualified name lookups into transparent contexts. llvm-svn: 152739
-
Matt Beaumont-Gay authored
llvm-svn: 152738
-
Chandler Carruth authored
which are small enough to themselves be inlined. Delaying in this manner can be harmful if the function is inelligible for inlining in some (or many) contexts as it pessimizes the code of the function itself in the event that inlining does not eventually happen. Previously the check was written to only do this delaying of inlining for static functions in the hope that they could be entirely deleted and in the knowledge that all callers of static functions will have the opportunity to inline if it is in fact profitable. However, with C++ we get two other important sources of functions where the definition is always available for inlining: inline functions and templated functions. This patch generalizes the inliner to allow linkonce-ODR (the linkage such C++ routines receive) to also qualify for this delay-based inlining. Benchmarking across a range of large real-world applications shows roughly 2% size increase across the board, but an average speedup of about 0.5%. Some benhcmarks improved over 2%, and the 'clang' binary itself (when bootstrapped with this feature) shows a 1% -O0 performance improvement when run over all Sema, Lex, and Parse source code smashed into a single file. A clean re-build of Clang+LLVM with a bootstrapped Clang shows approximately 2% improvement, but that measurement is often noisy. llvm-svn: 152737
-
Howard Hinnant authored
llvm-svn: 152736
-
Howard Hinnant authored
llvm-svn: 152735
-
Anna Zaks authored
in the callee. llvm-svn: 152734
-
Enrico Granata authored
llvm-svn: 152733
-
Johnny Chen authored
llvm-svn: 152732
-
Fariborz Jahanian authored
Add the _class_ro_t.reserved field for 64bit targets. // rdar://11040024 llvm-svn: 152731
-
Erik Verbruggen authored
MaterializeTemporaryExpr. llvm-svn: 152730
-
Douglas Gregor authored
llvm-svn: 152729
-
Sean Callanan authored
llvm-svn: 152726
-
Douglas Gregor authored
llvm-svn: 152725
-
- Mar 14, 2012
-
-
Sebastian Redl authored
llvm-svn: 152721
-
Erik Verbruggen authored
longer needed as the CFG is fully linearized. llvm-svn: 152720
-
David Chisnall authored
llvm-svn: 152718
-
David Chisnall authored
llvm-svn: 152717
-
David Chisnall authored
llvm-svn: 152716
-
Eli Bendersky authored
llvm-svn: 152712
-
Benjamin Kramer authored
llvm-svn: 152711
-
Benjamin Kramer authored
llvm-svn: 152710
-
Daniel Dunbar authored
[Basic] Change DiagnosticBuilder to use a separate status variable to track whether the builder is active. - This may seem superflous, but actually this allows the optimizer to more easily eliminate the isActive() checks needed by the SemaDiagnosticBuilder and DiagnosticBuilder dtors. And by more easily, I mean the current LLVM is actually able to do one and not the other. :) This is good for another 20k code size reduction. llvm-svn: 152709
-
Daniel Dunbar authored
- As with DiagnosticBuilder, it is very important that SemaDiagnosticBuilder be completely inline to ensure that the compiler can rip it apart and sink it to registers. This is good for another 30k reduction in code size. llvm-svn: 152708
-
Bill Wendling authored
Also do some minor reformatting. llvm-svn: 152707
-
Chandler Carruth authored
a worklist rather than a recursive call. No functionality changed. llvm-svn: 152706
-
Bill Wendling authored
There were cases where a value could be used and it's both crossing an invoke and NOT crossing an invoke. This could happen in the landing pads. In that case, we will demote the value to the stack like we did before. <rdar://problem/10609139> llvm-svn: 152705
-
Bill Wendling authored
expensive "getFirstTerminator" call. This reduces the time of compilation in PR12258 from >10 minutes to < 10 seconds. llvm-svn: 152704
-
Eli Bendersky authored
llvm-svn: 152703
-
Eli Bendersky authored
llvm-svn: 152702
-