aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/ARM/Disassembler/ARMDisassembler.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard@metafoo.co.uk>2020-04-06 19:17:55 -0700
committerRichard Smith <richard@metafoo.co.uk>2020-04-06 19:20:30 -0700
commitc56975e299e17a503066c98a3afaf02c5b231f9e (patch)
tree5fad39e2a3edb5ffad44c1bbc92449e6bc76efb2 /llvm/lib/Target/ARM/Disassembler/ARMDisassembler.cpp
parent68ef0b6a4918413a69544c8029dffb365e76392f (diff)
downloadllvm-c56975e299e17a503066c98a3afaf02c5b231f9e.zip
llvm-c56975e299e17a503066c98a3afaf02c5b231f9e.tar.gz
llvm-c56975e299e17a503066c98a3afaf02c5b231f9e.tar.bz2
Fix template instantiation of a non-dependent call to an inherited
constructor with default arguments. We used to try to rebuild the call as a call to the faked-up inherited constructor, which is only a placeholder and lacks (for example) default arguments. Instead, build the call by reference to the original constructor. In passing, add a note to say where a call that recursively uses a default argument from within itself occurs. This is usually pretty obvious, but still at least somewhat useful, and would have saved significant debugging time for this particular bug.
Diffstat (limited to 'llvm/lib/Target/ARM/Disassembler/ARMDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions