- Jun 13, 2009
-
-
Daniel Dunbar authored
llvm-svn: 73287
-
Douglas Gregor authored
llvm-svn: 73286
-
Eli Friedman authored
I'm not completely sure this is the right way to fix this issue, but it seems reasonable, and it's consistent with the non-template code for this construct. llvm-svn: 73285
-
Anders Carlsson authored
If a CXXRecordDecl is a class template, the 'this' type should be the injected class name type. Fixes pr4383. llvm-svn: 73284
-
Anders Carlsson authored
llvm-svn: 73281
-
Zhongxing Xu authored
logic. llvm-svn: 73279
-
Douglas Gregor authored
obviously written by someone who didn't read C++ [temp.class.spec]. llvm-svn: 73276
-
Anders Carlsson authored
llvm-svn: 73275
-
Douglas Gregor authored
specialization cannot be deduced, produce a warning noting that the affected class template partial specialization will never be used. llvm-svn: 73274
-
Chris Lattner authored
always_inline from working. llvm-svn: 73273
-
Anders Carlsson authored
llvm-svn: 73272
-
Anders Carlsson authored
llvm-svn: 73269
-
Anders Carlsson authored
llvm-svn: 73268
-
Anders Carlsson authored
llvm-svn: 73267
-
Chris Lattner authored
This fixes a source range problem reported by Olaf Krzikalla. llvm-svn: 73266
-
Anders Carlsson authored
llvm-svn: 73264
-
Douglas Gregor authored
It looks like we've finished off matching of class template partial specializations; add comments and update the C++ status page llvm-svn: 73263
-
Anders Carlsson authored
llvm-svn: 73262
-
Anders Carlsson authored
llvm-svn: 73261
-
Douglas Gregor authored
llvm-svn: 73260
-
Douglas Gregor authored
specialization's arguments are identical to the implicit template arguments of the primary template. Typically, this is meant to be a declaration/definition of the primary template, so we give that advice. llvm-svn: 73259
-
- Jun 12, 2009
-
-
Douglas Gregor authored
template partial specializations. llvm-svn: 73254
-
Eli Friedman authored
llvm-svn: 73251
-
Eli Friedman authored
llvm-svn: 73250
-
Eli Friedman authored
llvm-svn: 73249
-
Anders Carlsson authored
llvm-svn: 73247
-
Douglas Gregor authored
specialization do not have default arguments (C++ [temp.class.spec]p10). llvm-svn: 73245
-
Douglas Gregor authored
Update the C++ status to reflect improvements in template argument deduction and the handling of class template partial specializations llvm-svn: 73242
-
Anders Carlsson authored
llvm-svn: 73240
-
Douglas Gregor authored
argument deduction failed. For example, given template<typename T> struct is_same<T, T> { ... }; template argument deduction will fail for is_same<int, float>, and now reports enough information Right now, we don't do anything with this extra information, but it can be used for informative diagnostics that say, e.g., "template argument deduction failed because T was deduced to 'int' in one context and 'float' in another". llvm-svn: 73237
-
Anders Carlsson authored
It's an error to use a function declared in a class definition as a default argument before the function has been declared. llvm-svn: 73234
-
Anders Carlsson authored
llvm-svn: 73232
-
Zhongxing Xu authored
llvm-svn: 73218
-
Oscar Fuentes authored
Patch by Ingmar Vanhassel! llvm-svn: 73217
-
- Jun 11, 2009
-
-
Anders Carlsson authored
llvm-svn: 73208
-
Eli Friedman authored
the clang inlining threshold consistent with the threshold for llvm-gcc. llvm-svn: 73204
-
Eli Friedman authored
xmmintrin.h in an ifdef. llvm-svn: 73200
-
Ted Kremenek authored
Convert tabs to spaces. llvm-svn: 73198
-
Ted Kremenek authored
llvm-svn: 73197
-
Douglas Gregor authored
partial specialization, substitute those template arguments back into the template arguments of the class template partial specialization to see if the results still match the original template arguments. This code is more general than it needs to be, since we don't yet diagnose C++ [temp.class.spec]p9. However, it's likely to be needed for function templates. llvm-svn: 73196
-