llvm-project/clang/test/CXX/dcl.decl
Richard Smith 59006e4338 Fix a few auto-related issues:
* 'auto' was being rejected on abstract-declarators with trailing return
types and on typedefs with trailing return types. 'auto' is always
allowed in these cases. This was found while testing the fix for PR 9278.

 * A very poor diagnostic was being issued for auto (f() -> int): "return
type must be 'auto', not 'auto'". This is closely related to PR 9060.

 * Trailing return type handling was happening slightly too late,
resulting in the checks for functions returning arrays and functions
returning functions being missed.

llvm-svn: 126166
2011-02-22 00:36:53 +00:00
..
dcl.init Re-instate r123977/r123978, my updates of the reference-binding 2011-01-24 16:14:37 +00:00
dcl.meaning Fix a few auto-related issues: 2011-02-22 00:36:53 +00:00
dcl.name In some contexts, type declarations cannot occur. Pass this information down to ParseClassSpecifier, to make its decision easier. Fixes PR6200. 2010-02-03 21:21:43 +00:00
p4-0x.cpp Rvalue references for *this: parse ref-qualifiers. 2011-01-26 03:43:54 +00:00