KhronosGroup / SPIRV-LLVM-Translator

A tool and a library for bi-directional translation between SPIR-V and LLVM IR
Other
464 stars 208 forks source link

[NFC] Use StringRef::operator== instead of StringRef::equals #2574

Closed svenvh closed 2 months ago

svenvh commented 2 months ago

The llvm project plans to deprecate StringRef::equals in favor of StringRef::operator==.

Most of these changes were done using sed -i -e 's/\.equals("\([a-z0-9_\-]*\)")/ == "\1"/g'