diff options
author | Richard Smith <richard@metafoo.co.uk> | 2020-04-06 19:17:55 -0700 |
---|---|---|
committer | Richard Smith <richard@metafoo.co.uk> | 2020-04-06 19:20:30 -0700 |
commit | c56975e299e17a503066c98a3afaf02c5b231f9e (patch) | |
tree | 5fad39e2a3edb5ffad44c1bbc92449e6bc76efb2 /llvm/lib/Target/ARM/Disassembler/ARMDisassembler.cpp | |
parent | 68ef0b6a4918413a69544c8029dffb365e76392f (diff) | |
download | llvm-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