aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/ModuleBuilder.cpp
diff options
context:
space:
mode:
authorJie Fu <jiefu@tencent.com>2023-05-27 09:53:10 +0800
committerJie Fu <jiefu@tencent.com>2023-05-27 09:53:10 +0800
commit5e8ed850d31cf18325f674d953dabf22549b85da (patch)
treeee9165b5090880b7ddc775371fc79fc0a2036b51 /clang/lib/CodeGen/ModuleBuilder.cpp
parenta919a3a1e739ce18d6c3026c553846544c2168e8 (diff)
downloadllvm-5e8ed850d31cf18325f674d953dabf22549b85da.zip
llvm-5e8ed850d31cf18325f674d953dabf22549b85da.tar.gz
llvm-5e8ed850d31cf18325f674d953dabf22549b85da.tar.bz2
[mlir] Fix non-const lvalue reference to type 'uint64_t' cannot bind to type 'size_t' error (NFC)
/Users/jiefu/llvm-project/mlir/lib/Bytecode/Reader/BytecodeReader.cpp:1007:39: error: non-const lvalue reference to type 'uint64_t' (aka 'unsigned long long') cannot bind to a value of unrelated type 'size_t' (aka 'unsigned long') if (failed(propReader.parseVarInt(count))) ^~~~~ /Users/jiefu/llvm-project/mlir/lib/Bytecode/Reader/BytecodeReader.cpp:191:39: note: passing argument to parameter 'result' here LogicalResult parseVarInt(uint64_t &result) { ^ /Users/jiefu/llvm-project/mlir/lib/Bytecode/Reader/BytecodeReader.cpp:1020:44: error: non-const lvalue reference to type 'uint64_t' (aka 'unsigned long long') cannot bind to a value of unrelated type 'size_t' (aka 'unsigned long') if (failed(offsetsReader.parseVarInt(dataSize)) || ^~~~~~~~ /Users/jiefu/llvm-project/mlir/lib/Bytecode/Reader/BytecodeReader.cpp:191:39: note: passing argument to parameter 'result' here LogicalResult parseVarInt(uint64_t &result) { ^ 2 errors generated.
Diffstat (limited to 'clang/lib/CodeGen/ModuleBuilder.cpp')
0 files changed, 0 insertions, 0 deletions