summaryrefslogtreecommitdiffstats
path: root/clang/lib/Parse/ParseDecl.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2012-05-16 23:40:17 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2012-05-16 23:40:17 +0000
commit109d5ed96d985c0a65ca8dae851c48fc0abeb6d2 (patch)
tree028fceabc28de2554a38329cc05e0165c49a4ff9 /clang/lib/Parse/ParseDecl.cpp
parentaf1537f57c3b3ff1e267b20bbcae909e12f5d64b (diff)
downloadbcm5719-llvm-109d5ed96d985c0a65ca8dae851c48fc0abeb6d2.tar.gz
bcm5719-llvm-109d5ed96d985c0a65ca8dae851c48fc0abeb6d2.zip
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. llvm-svn: 156963
Diffstat (limited to 'clang/lib/Parse/ParseDecl.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud