[clang-tools-extra] 60f7aa1 - [clang-tidy] add namespace qualifier NFC (#68579)
via cfe-commits
cfe-commits at lists.llvm.org
Mon Oct 9 04:58:18 PDT 2023
Author: Mikhail Goncharov
Date: 2023-10-09T13:58:13+02:00
New Revision: 60f7aa1a6ccb4214aec8838096abbdc1b37169a5
URL: https://github.com/llvm/llvm-project/commit/60f7aa1a6ccb4214aec8838096abbdc1b37169a5
DIFF: https://github.com/llvm/llvm-project/commit/60f7aa1a6ccb4214aec8838096abbdc1b37169a5.diff
LOG: [clang-tidy] add namespace qualifier NFC (#68579)
for daca97216cf132d733513f992d49e3c722aabf40 #68134 adds a namespace as
we are not using llvm::StringRef yet
Added:
Modified:
clang-tools-extra/clang-tidy/llvmlibc/NamespaceConstants.h
Removed:
################################################################################
diff --git a/clang-tools-extra/clang-tidy/llvmlibc/NamespaceConstants.h b/clang-tools-extra/clang-tidy/llvmlibc/NamespaceConstants.h
index 31fcdaa7b273b0b..7d4120085b86677 100644
--- a/clang-tools-extra/clang-tidy/llvmlibc/NamespaceConstants.h
+++ b/clang-tools-extra/clang-tidy/llvmlibc/NamespaceConstants.h
@@ -10,7 +10,7 @@
namespace clang::tidy::llvm_libc {
-const static StringRef RequiredNamespaceStart = "__llvm_libc";
-const static StringRef RequiredNamespaceMacroName = "LIBC_NAMESPACE";
+const static llvm::StringRef RequiredNamespaceStart = "__llvm_libc";
+const static llvm::StringRef RequiredNamespaceMacroName = "LIBC_NAMESPACE";
} // namespace clang::tidy::llvm_libc
More information about the cfe-commits
mailing list