aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorDavid Spickett <david.spickett@linaro.org>2025-02-07 10:25:37 +0000
committerDavid Spickett <david.spickett@linaro.org>2025-02-07 10:29:35 +0000
commit52db30ec4154b0ef21db546ed9b5a9bfe47859cd (patch)
tree2da6cfa35b2233389f76bf0ccfde45ddb312d743 /clang/lib/Frontend/CompilerInvocation.cpp
parent6424abcd6c9c6aa8171c79d0fe0369d3a10da3d5 (diff)
downloadllvm-52db30ec4154b0ef21db546ed9b5a9bfe47859cd.zip
llvm-52db30ec4154b0ef21db546ed9b5a9bfe47859cd.tar.gz
llvm-52db30ec4154b0ef21db546ed9b5a9bfe47859cd.tar.bz2
[lldb] Fix compiler error in ValueObject tests
Fixes 0cbc4983adcdbbd85ccb38b2dfbfe5985367b1b2. error: non-constant-expression cannot be narrowed from type 'uint64_t' (aka 'unsigned long long') to 'size_t' (aka 'unsigned int') in initializer list [-Wc++11-narrowing] 71 | in_value.GetLocalBufferSize()}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Given this is test code, I think a static cast is fine here. Tiny risk that it's actually a symptom of a bug that would happen if you did 32-bit to 64-bit debugging. I expect you'd find a lot more bugs than that though.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions