aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/CommandLine.cpp
diff options
context:
space:
mode:
authorPhilip Reames <preames@rivosinc.com>2022-06-07 07:43:00 -0700
committerPhilip Reames <listmail@philipreames.com>2022-06-07 11:26:28 -0700
commit4f5648adc588e23e2bf52e189030c792a6f1586a (patch)
tree631addc7c3864842af706368df9c5ca8ec61dab2 /llvm/lib/Support/CommandLine.cpp
parente80748ff8840a10bd7c7336eb5e98664480ba1ba (diff)
downloadllvm-4f5648adc588e23e2bf52e189030c792a6f1586a.zip
llvm-4f5648adc588e23e2bf52e189030c792a6f1586a.tar.gz
llvm-4f5648adc588e23e2bf52e189030c792a6f1586a.tar.bz2
[PointerUnionTest] Fix an incorrectly written test
The test being change appears to have been intended to exercise PointerUnion, but what it actually did was cast<> a double to a double*. This only worked because cast<> was missing the required assertion. Adding the assertion reveals a template error where isa<const double*>(double) fails to compile.
Diffstat (limited to 'llvm/lib/Support/CommandLine.cpp')
0 files changed, 0 insertions, 0 deletions