- Jun 14, 2009
-
-
Chris Lattner authored
fixes a layering violation in lib/Basic/Targets.cpp. llvm-svn: 73318
-
Chris Lattner authored
llvm-svn: 73317
-
Chris Lattner authored
llvm-svn: 73316
-
Chris Lattner authored
ExpectAndConsume instead of custom diag logic. This gets us an insertion hint and positions the ; at the end of the line instead of on the next token. Before: t.c:5:1: error: expected ';' after return statement } ^ after: t.c:4:11: error: expected ';' after return statement return 4 ^ ; llvm-svn: 73315
-
Chris Lattner authored
diagnostics in some cases. llvm-svn: 73314
-
Chris Lattner authored
the check for extern "c" system headers, which should prevent functiondecls from being mangled. llvm-svn: 73311
-
- Jun 13, 2009
-
-
Eli Friedman authored
x86-32. This is slightly messy, but I think it's consistent with gcc. llvm-svn: 73306
-
Anders Carlsson authored
Have CheckClassTemplatePartialSpecializationArgs take a TemplateArgumentListBuilder. No functionality change. llvm-svn: 73297
-
Eli Friedman authored
of the elements. Issue reported on cfe-dev by Mattias Holm. llvm-svn: 73292
-
Chris Lattner authored
builtin preprocessor macro. This appears to work with two caveats: 1) builtins are registered in -E mode, and 2) target-specific builtins are unconditionally registered even if they aren't supported by the target (e.g. SSE4 builtin when only SSE1 is enabled). llvm-svn: 73289
-
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
-
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
-
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
-
- 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
-