aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorDaniel Paoliello <danpao@microsoft.com>2021-01-13 22:52:40 -0800
committerXun Li <lxfind@gmail.com>2021-01-13 22:53:25 -0800
commitff5e896425577f445ed080d88b582aab0896fba0 (patch)
tree873c02941d7eb12b5e10d9adb4bc2c9165a8f00d /clang/lib/Frontend/CompilerInvocation.cpp
parent6ed3083a96541a7483cb02bb3b2f52b1d0a37c84 (diff)
downloadllvm-ff5e896425577f445ed080d88b582aab0896fba0.zip
llvm-ff5e896425577f445ed080d88b582aab0896fba0.tar.gz
llvm-ff5e896425577f445ed080d88b582aab0896fba0.tar.bz2
Fix unused variable in CoroFrame.cpp when building Release with GCC 10
When building with GCC 10, the following warning is reported: ``` /llvm-project/llvm/lib/Transforms/Coroutines/CoroFrame.cpp:1527:28: warning: unused variable ‘CS’ [-Wunused-variable] 1527 | if (CatchSwitchInst *CS = ``` This change adds a cast to `void` to avoid the warning. Reviewed By: lxfind Differential Revision: https://reviews.llvm.org/D94456
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions