diff options
| author | Jie Fu <jiefu@tencent.com> | 2023-08-17 16:13:34 +0800 |
|---|---|---|
| committer | Jie Fu <jiefu@tencent.com> | 2023-08-17 16:13:34 +0800 |
| commit | 2829486a8b4b50ba3f63ae445d28f9c6f50a963b (patch) | |
| tree | 317956774d1d1e133568de1a4941c227097a85a7 /clang/lib/CodeGen/CodeGenModule.cpp | |
| parent | b4e0589b2cd98a93aad449486bb2a52ab8790781 (diff) | |
[IR] Ignore the return value of std::remove_if (NFC)
/Users/jiefu/llvm-project/llvm/lib/IR/Instructions.cpp:166:3: error: ignoring return value of function declared with 'nodiscard' attribute [-Werror,-Wunused-result]
std::remove_if(const_cast<block_iterator>(block_begin()),
^~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
