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

via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 9 12:46:35 PST 2025


================
@@ -57,7 +57,7 @@ class DeclarationFragments {
     Keyword,
     Attribute,
     NumberLiteral,
-    StringLiteral,
+    StringRef,
----------------
QuietMisdreavus wrote:

This is an unnecessary find-and-replace. This enum constant specifically references a string literal, not the `StringLiteral` type.

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


More information about the cfe-commits mailing list