- Nov 12, 2009
-
-
Chris Lattner authored
llvm-svn: 86927
-
Dan Gohman authored
llvm-svn: 86926
-
Chris Lattner authored
allows us to handle the test10 testcase. llvm-svn: 86924
-
Chris Lattner authored
llvm-svn: 86923
-
Daniel Dunbar authored
clang-cc: Move non-Consumer action handling to common location, to expose the massive amount of redundancy we have introduced through blind copy-and-paste. llvm-svn: 86922
-
Daniel Dunbar authored
PCH, which I broke. llvm-svn: 86921
-
Chris Lattner authored
llvm-svn: 86920
-
Lang Hames authored
Fixed an iteration condition in PreAllocSplitting. This should fix some miscompilations casued by PreAllocSplitting. llvm-svn: 86919
-
Chris Lattner authored
the basic.ll testcase. llvm-svn: 86918
-
Eric Christopher authored
llvm-svn: 86917
-
Devang Patel authored
llvm-svn: 86915
-
Devang Patel authored
This allows StringRef to skip controversial if(str) check in constructor. Buildbots, wait for corresponding clang and llvm-gcc FE check-ins! llvm-svn: 86914
-
Douglas Gregor authored
template template parameter. When building a template-id type, check whether the template-name itself is dependent (even if the template arguments are not!) and handle it as a template-id type. llvm-svn: 86913
-
Daniel Dunbar authored
llvm-svn: 86912
-
Daniel Dunbar authored
llvm-svn: 86911
-
Dan Gohman authored
can be made to fall through into the other. llvm-svn: 86909
-
Daniel Dunbar authored
is sane. llvm-svn: 86908
-
Daniel Dunbar authored
llvm-svn: 86907
-
Daniel Dunbar authored
llvm-svn: 86906
-
John McCall authored
and give that category an explicit test. Generalize the internal diagnostic name. llvm-svn: 86905
-
Douglas Gregor authored
annotation token, because some of the tokens we're annotating might not be in the set of cached tokens (we could have consumed them unconditionally). Also, move the tentative parsing from ParseTemplateTemplateArgument into the one caller that needs it, improving recovery. llvm-svn: 86904
-
Daniel Dunbar authored
in the predefines buffer. llvm-svn: 86903
-
Bill Wendling authored
"nounwind" attribute. llvm-svn: 86897
-
John Thompson authored
llvm-svn: 86896
-
Bruno Cardoso Lopes authored
llvm-svn: 86895
-
Douglas Gregor authored
permits, among other things, ripping apart and reconstructing templates via partial specialization: template<typename T> struct DeepRemoveConst { typedef T type; }; template<typename T> struct DeepRemoveConst<const T> { typedef typename DeepRemoveConst<T>::type type; }; template<template<typename> class TT, typename T> struct DeepRemoveConst<TT<T> > { typedef TT<typename DeepRemoveConst<T>::type> type; }; Also, fix a longstanding thinko in the code handling partial ordering of class template partial specializations. We were performing the second deduction without clearing out the results of the first deduction. It's amazing we got through so much code with such a horrendous error :( llvm-svn: 86893
-
- Nov 11, 2009
-
-
John McCall authored
the -Wconversion check. llvm-svn: 86891
-
Fariborz Jahanian authored
llvm-svn: 86890
-
Chris Lattner authored
strswitch. llvm-svn: 86889
-
Fariborz Jahanian authored
llvm-svn: 86888
-
Fariborz Jahanian authored
either both synthesized or bith user defined. Implements radar 6557233. llvm-svn: 86887
-
Chris Lattner authored
uses LVI info when -enable-jump-threading-lvi is passed. llvm-svn: 86886
-
Dan Gohman authored
instead of typedefs for std::pair. This simplifies the type of SameTails, which previously was std::vector<std::pair<std::vector<std::pair<unsigned, MachineBasicBlock *> >::iterator, MachineBasicBlock::iterator> llvm-svn: 86885
-
Douglas Gregor authored
with its corresponding template parameter. This can happen when we performed some substitution into the default template argument and what we had doesn't match any more, e.g., template<int> struct A; template<typename T, template<T> class X = A> class B; B<long> b; Previously, we'd emit a pretty but disembodied diagnostic showing how the default argument didn't match the template parameter. The diagnostic was good, but nothing tied it to the *use* of the default argument in "B<long>". This commit fixes that. Also, tweak the counting of active template instantiations to avoid counting non-instantiation records, such as those we create for (surprise!) checking default arguments, instantiating default arguments, and performing substitutions as part of template argument deduction. llvm-svn: 86884
-
Daniel Dunbar authored
not doing this has little to no utility. llvm-svn: 86883
-
Daniel Dunbar authored
Allow Preprocessor to take ownership of the HeaderSearch object. I think it should probably always own the header search object, but I'm not sure... llvm-svn: 86882
-
Daniel Dunbar authored
llvm-svn: 86881
-
Daniel Dunbar authored
CompilerInvocation and clang-cc. llvm-svn: 86880
-
Mike Stump authored
llvm-svn: 86879
-
Mike Stump authored
llvm-svn: 86878
-