[clang] [clang-tools-extra] Remove `StringLiteral` in favor of `StringRef` (PR #122366)

Eli Friedman via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 9 14:05:10 PST 2025


efriedma-quic wrote:

For reference, when it was added, the important thing about StringLiteral was that it had a constexpr constructor.  The StringRef constructor became constexpr with 57effbdadc0b382db4ef86addcfd03a64c9eda0a, a few years after StringLiteral was added.

https://github.com/llvm/llvm-project/pull/122366


More information about the cfe-commits mailing list