Go to file
David Blaikie f221e51d2a Correct error recovery when missing 'class' in a template template parameter.
The diagnostic message correctly informs the user that they have omitted the
'class' keyword, but neither suggests this insertion as a fixit, nor attempts
to recover as if they had provided the keyword.

This fixes the recovery, adds the fixit, and adds a separate diagnostic and
corresponding replacement fixit for cases where the user wrote 'struct' or
'typename' instead of 'class' (suggested by Richard Smith as a possible common
mistake).

I'm not sure the diagnostic message for either the original or new cases feel
very Clang-esque, so I'm open to suggestions there. The fixit hints make it
fairly easy to see what's required, though.

llvm-svn: 153887
2012-04-02 19:15:28 +00:00
clang Correct error recovery when missing 'class' in a template template parameter. 2012-04-02 19:15:28 +00:00
compiler-rt Fix the build on 32 bit hosts. 2012-03-30 21:37:08 +00:00
debuginfo-tests Revert previous patch as the corresponding clang patch was reverted. 2012-01-26 07:01:33 +00:00
libclc Switch to BSD/MIT dual license. 2012-02-22 04:47:39 +00:00
libcxx Fix test for default constructor of discrete_distribution. This partially addresses http://llvm.org/bugs/show_bug.cgi?id=12436. 2012-04-02 15:00:14 +00:00
libcxxabi I would really like to write the handlers in terms of C++11 atomics. This would give us the best performance, portablity, and safety tradeoff. Unfortunately I can not yet do that. So I've put the desired code in comments, and reverted the handler getters to the slower but safer legacy atomic intrinsics. 2012-03-19 16:56:51 +00:00
lld Replace all uses of NULL with nullptr. 2012-03-29 19:39:14 +00:00
lldb Logging for data formatters. 2012-04-02 16:39:29 +00:00
llvm The binutils for the IBM BG/P are too old to support CFI. 2012-04-02 19:09:04 +00:00
polly CodeGen: Some style improvements 2012-04-02 12:26:13 +00:00