aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/MC/MCDisassembler/Disassembler.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2011-07-14 21:35:26 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2011-07-14 21:35:26 +0000
commit7b8c3c91f4c3781f09113c82fcca835d71eaae15 (patch)
tree1d49fa833b90ad340d2c5fc8dacd58716ac5111f /llvm/lib/MC/MCDisassembler/Disassembler.cpp
parent4036b587df876032248bbe03fcae21d63a6697fe (diff)
downloadllvm-7b8c3c91f4c3781f09113c82fcca835d71eaae15.zip
llvm-7b8c3c91f4c3781f09113c82fcca835d71eaae15.tar.gz
llvm-7b8c3c91f4c3781f09113c82fcca835d71eaae15.tar.bz2
PR10359: Template declarations which define classes are not permitted to also contain declarators. Previously we would accept code like this:
template<typename T> struct S { } f() { return 0; } This case now produces a missing ';' diagnostic, since that seems like a much more likely error than an attempt to declare a function or variable in addition to the class template. Treat this llvm-svn: 135195
Diffstat (limited to 'llvm/lib/MC/MCDisassembler/Disassembler.cpp')
0 files changed, 0 insertions, 0 deletions