[clang-tools-extra] [clang-tidy] add namespace qualifier NFC (PR #68579)
Mikhail Goncharov via cfe-commits
cfe-commits at lists.llvm.org
Mon Oct 9 04:55:14 PDT 2023
https://github.com/metaflow created https://github.com/llvm/llvm-project/pull/68579
for daca97216cf132d733513f992d49e3c722aabf40 #68134 adds a namespace as we are not using llvm::StringRef yet
>From c91b8034ddcd97fb255ccafe7a153056c0c2f446 Mon Sep 17 00:00:00 2001
From: Mikhail Goncharov <goncharov.mikhail at gmail.com>
Date: Mon, 9 Oct 2023 13:52:27 +0200
Subject: [PATCH] [clang-tidy] add namespace qualifier NFC
for daca97216cf132d733513f992d49e3c722aabf40 #68134 adds a namespace
as we are not using llvm::StringRef yet
---
clang-tools-extra/clang-tidy/llvmlibc/NamespaceConstants.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
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