[clang-tools-extra] [clang-tidy] add namespace qualifier NFC (PR #68579)
via cfe-commits
cfe-commits at lists.llvm.org
Mon Oct 9 04:56:19 PDT 2023
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-clang-tidy
<details>
<summary>Changes</summary>
for daca97216cf132d733513f992d49e3c722aabf40 #<!-- -->68134 adds a namespace as we are not using llvm::StringRef yet
---
Full diff: https://github.com/llvm/llvm-project/pull/68579.diff
1 Files Affected:
- (modified) clang-tools-extra/clang-tidy/llvmlibc/NamespaceConstants.h (+2-2)
``````````diff
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
``````````
</details>
https://github.com/llvm/llvm-project/pull/68579
More information about the cfe-commits
mailing list