aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Basic/SourceManagerTest.cpp
diff options
context:
space:
mode:
authorMikael Holmen <mikael.holmen@ericsson.com>2023-09-29 08:21:10 +0200
committerMikael Holmen <mikael.holmen@ericsson.com>2023-09-29 11:59:23 +0200
commit9284b03e87df5153fe425b6b81b8402f666deb18 (patch)
treedde37129002309d352c79c24512aae940eed2b57 /clang/unittests/Basic/SourceManagerTest.cpp
parent2cd2445c21bc397628cd419817bbaf54224fd21e (diff)
downloadllvm-9284b03e87df5153fe425b6b81b8402f666deb18.zip
llvm-9284b03e87df5153fe425b6b81b8402f666deb18.tar.gz
llvm-9284b03e87df5153fe425b6b81b8402f666deb18.tar.bz2
[Coroutines] Remove unused variable [NFC]
gcc warned about it: ../lib/Transforms/Coroutines/CoroFrame.cpp:2785:15: warning: unused variable 'MD' [-Wunused-variable] 2785 | if (MDNode *MD = AI->getMetadata(LLVMContext::MD_coro_outside_frame)) | ^~ Fix the warning by removing the unused variable and change the call from getMetadata to hasMetadata.
Diffstat (limited to 'clang/unittests/Basic/SourceManagerTest.cpp')
0 files changed, 0 insertions, 0 deletions