commit | 25582fc0aeac053cdc115ee95cbed53f28bf592e | [log] [tgz] |
---|---|---|
author | Richard Smith <richard-llvm@metafoo.co.uk> | Wed May 16 23:40:17 2012 +0000 |
committer | Richard Smith <richard-llvm@metafoo.co.uk> | Wed May 16 23:40:17 2012 +0000 |
tree | 4c61fcf359f5bc9565e6457c2f546702f3a17271 | |
parent | c4968d67b4650f0749804af25e7b809e0cb94b3e [diff] |
Recover better from a missing 'typename' in a function template definition. Disambiguate past such a potential problem, and use the absence of 'typename' to break ties in favor of a parenthesized thingy being an initializer, if nothing else in the declaration disambiguates it as declaring a function. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@156963 91177308-0d34-0410-b5e6-96231b3b80d8