aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2020-03-31 20:56:24 +0200
committerBenjamin Kramer <benny.kra@googlemail.com>2020-03-31 21:01:09 +0200
commite8f13f4f62f52067cadb55f3c746ccf9d26ee2ce (patch)
treede0e5c0cb32349d5c6ffcf2811d0fa05e4607897 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parent03f43b3aca363e16c45d8733400fd0083b1af4d8 (diff)
downloadllvm-e8f13f4f62f52067cadb55f3c746ccf9d26ee2ce.zip
llvm-e8f13f4f62f52067cadb55f3c746ccf9d26ee2ce.tar.gz
llvm-e8f13f4f62f52067cadb55f3c746ccf9d26ee2ce.tar.bz2
Replace std::string::find == 0 with StringRef::startswith
This is both more readable and faster. Found by clang-tidy's abseil-string-find-startswith.
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions