- 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
-
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: 73269
-
Anders Carlsson authored
llvm-svn: 73267
-
Anders Carlsson authored
llvm-svn: 73262
-
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
-
Anders Carlsson authored
llvm-svn: 73247
-
Douglas Gregor authored
specialization do not have default arguments (C++ [temp.class.spec]p10). llvm-svn: 73245
-
Anders Carlsson authored
llvm-svn: 73240
-
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
-
- Jun 11, 2009
-
-
Anders Carlsson authored
llvm-svn: 73208
-
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
-
Anders Carlsson authored
Add a null check that fixes the crash in PR4362, and make sure to instantiate non-type template arguments. llvm-svn: 73193
-
Zhongxing Xu authored
comments for added test case for details. llvm-svn: 73189
-
Eli Friedman authored
(Actually, this isn't precisely correct, but it doesn't make sense to query whether an expression that isn't an ICE is value-dependent anyway.) llvm-svn: 73179
-
Eli Friedman authored
llvm-svn: 73178
-
Eli Friedman authored
llvm-svn: 73177
-
Douglas Gregor authored
Also, introduced some of the framework for performing instantiation as part of template argument deduction. llvm-svn: 73175
-
- Jun 10, 2009
-
-
Daniel Dunbar authored
llvm-svn: 73158
-
Eli Friedman authored
llvm-svn: 73153
-
Douglas Gregor authored
T::*) and implement template instantiation for member pointer types. llvm-svn: 73151
-
- Jun 09, 2009
-
-
Douglas Gregor authored
llvm-svn: 73147
-
Douglas Gregor authored
specialization types. As the example shows, we can now compute the length of a type-list using a template metaprogram and class template partial specialization. llvm-svn: 73136
-
Daniel Dunbar authored
source directory. llvm-svn: 73094
-
Daniel Dunbar authored
- <rdar://problem/6948443> WARNING: Linking two modules of different data layouts! llvm-svn: 73093
-
- Jun 08, 2009
-
-
Daniel Dunbar authored
- <rdar://problem/6945384> Driver should pass down -C and -CC llvm-svn: 73087
-
Daniel Dunbar authored
llvm-svn: 73082
-
Anders Carlsson authored
llvm-svn: 73077
-
Douglas Gregor authored
llvm-svn: 73072
-
Anders Carlsson authored
llvm-svn: 73070
-
Eli Friedman authored
hack which introduces some strange inconsistencies in compatibility for block pointers. Note that unlike an earlier revision proposed on cfe-commits, this patch still allows declaring block pointers without a prototype. llvm-svn: 73041
-
- Jun 07, 2009
-
-
Anders Carlsson authored
Instantiation support for more Obj-C expressions, string literals, @selector and @protocol expressions. llvm-svn: 73036
-