commit | 7796eb5643244f3134834253ce5ea89107ac21c1 | [log] [tgz] |
---|---|---|
author | Richard Smith <richard-llvm@metafoo.co.uk> | Mon Mar 12 08:56:40 2012 +0000 |
committer | Richard Smith <richard-llvm@metafoo.co.uk> | Mon Mar 12 08:56:40 2012 +0000 |
tree | 223c93c51604d1e6128470ad42ea5af267b8abaf | |
parent | 69730c115c2d0fec2f20609d905d920a5a41b29b [diff] |
Fix parsing of trailing-return-type. Types are syntactically prohibited from being defined here: [] () -> struct S {} does not define struct S. In passing, implement DR1318 (syntactic disambiguation of 'final'). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@152551 91177308-0d34-0410-b5e6-96231b3b80d8