diff options
author | Craig Topper <craig.topper@sifive.com> | 2021-02-08 16:25:18 -0800 |
---|---|---|
committer | Craig Topper <craig.topper@sifive.com> | 2021-02-08 16:34:35 -0800 |
commit | 622611f7e5b2c42ad3c34aec4a77a82adf6d9e36 (patch) | |
tree | 2ffc3251c4aaa36d30bafcfc356884701a05570f /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 333d2cfc707d3939f44b24f87e799a5b2fc7ca5a (diff) | |
download | llvm-622611f7e5b2c42ad3c34aec4a77a82adf6d9e36.zip llvm-622611f7e5b2c42ad3c34aec4a77a82adf6d9e36.tar.gz llvm-622611f7e5b2c42ad3c34aec4a77a82adf6d9e36.tar.bz2 |
[TableGen] Use return value from EmitVBRValue instead of calling GetVBRSize on the same value. Consistently use unsigned for child sizes. NFCI
getSize and setSize both use unsigned. So size_t doesn't
increase range here and might get truncated if passed to
setSize.
Also not sure why EmitVBRValue was returning uint64_t, but used
an unsigned to supply the value.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions