- Jun 18, 2009
-
-
Douglas Gregor authored
llvm-svn: 73658
-
Argyrios Kyrtzidis authored
Fixes "test/CXX/basic/basic.lookup/basic.lookup.unqual/p13.cpp" test case. llvm-svn: 73652
-
- Jun 17, 2009
-
-
Douglas Gregor authored
thereof. Patch by Anders Johnsen! llvm-svn: 73641
-
Douglas Gregor authored
llvm-svn: 73626
-
Douglas Gregor authored
llvm-svn: 73609
-
Douglas Gregor authored
llvm-svn: 73583
-
- Jun 16, 2009
-
-
Daniel Dunbar authored
llvm-svn: 73556
-
Daniel Dunbar authored
tool chain. llvm-svn: 73555
-
Ted Kremenek authored
llvm-svn: 73549
-
Douglas Gregor authored
InitializeAllAsmPrinters LLVM headers. Also includes some minor fixes for the CMake-based build with Xcode. llvm-svn: 73544
-
Devang Patel authored
It is possible that main input file does not have any symbol with debug info. To handle this edge case, always create main compile unit first. This fixes PR 4228. llvm-svn: 73520
-
Fariborz Jahanian authored
llvm-svn: 73519
-
Chris Lattner authored
llvm-svn: 73514
-
Zhongxing Xu authored
be unique. llvm-svn: 73482
-
Zhongxing Xu authored
llvm-svn: 73474
-
Anders Carlsson authored
llvm-svn: 73462
-
- Jun 15, 2009
-
-
Eli Friedman authored
C++-specific tokens. llvm-svn: 73408
-
Daniel Dunbar authored
- p13 and p14 are important failures. llvm-svn: 73392
-
Daniel Dunbar authored
- Failing, at least in part, because lookup in parser is finding a friend function where it shouldn't. llvm-svn: 73388
-
Chris Lattner authored
the file at the point of the pragma. This allows clang to know that all sourcelocations after the pragma are in a system header. llvm-svn: 73376
-
Chris Lattner authored
llvm-svn: 73375
-
Chris Lattner authored
llvm-svn: 73374
-
Chris Lattner authored
can occur in the middle of comment tokens. llvm-svn: 73365
-
- Jun 14, 2009
-
-
Eli Friedman authored
static intializers for structs. llvm-svn: 73349
-
Fariborz Jahanian authored
Patch by Jean-Daniel Dupas llvm-svn: 73343
-
Douglas Gregor authored
Implement support for C++ Substitution Failure Is Not An Error (SFINAE), which says that errors that occur during template argument deduction do *not* produce diagnostics and do not necessarily make a program ill-formed. Instead, template argument deduction silently fails. This is currently implemented for template argument deduction during matching of class template partial specializations, although the mechanism will also apply to template argument deduction for function templates. The scheme is simple: - If we are in a template argument deduction context, any diagnostic that is considered a SFINAE error (or warning) will be suppressed. The error will be propagated up the call stack via the normal means. - By default, all warnings and errors are SFINAE errors. Add the NoSFINAE class to a diagnostic in the .td file to make it a hard error (e.g., for access-control violations). Note that, to make this fully work, every place in Sema that emits an error *and then immediately recovers* will need to check Sema::isSFINAEContext() to determine whether it must immediately return an error rather than recovering. llvm-svn: 73332
-
Eli Friedman authored
foo has a constant address. llvm-svn: 73321
-
Chris Lattner authored
preprocessor and initialize it early in clang-cc. This ensures that __has_builtin works in all modes, not just when ASTContext is around. llvm-svn: 73319
-
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
-
- Jun 13, 2009
-
-
Eli Friedman authored
x86-32. This is slightly messy, but I think it's consistent with gcc. llvm-svn: 73306
-
Daniel Dunbar authored
llvm-svn: 73301
-
Daniel Dunbar authored
llvm-svn: 73300
-
Daniel Dunbar authored
- TestRunner.sh still needs to be moved over. - Please let me know if you find problems / missing features. llvm-svn: 73298
-
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
-
Douglas Gregor authored
Move a bunch of tests into temp.param, and write a few tests for paragraphs that hadn't been touched before llvm-svn: 73288
-
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
-