aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorAaron Puchert <aaronpuchert@alice-dsl.net>2020-08-29 18:10:16 +0200
committerAaron Puchert <aaronpuchert@alice-dsl.net>2020-08-29 18:42:58 +0200
commit85fce449dc43447bf9d75163bda81e157f5b73e7 (patch)
treec6e25960a0450edd10baec43d13d4f3d0d6620db /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parentb4a2d36c3f74ea5574cd03a9c1a704bcffb1869e (diff)
downloadllvm-85fce449dc43447bf9d75163bda81e157f5b73e7.zip
llvm-85fce449dc43447bf9d75163bda81e157f5b73e7.tar.gz
llvm-85fce449dc43447bf9d75163bda81e157f5b73e7.tar.bz2
[Sema] Simplify ShouldDiagnoseUnusedDecl, NFC
Instead of writing to a flag and then returning based on that flag we can also return directly. The flag name also doesn't provide additional information, it just reflects the name of the function (isReferenced).
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions