Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[clang-tidy] add namespace qualifier NFC #68579

Merged
merged 1 commit into from
Oct 9, 2023

Conversation

metaflow
Copy link
Contributor

@metaflow metaflow commented Oct 9, 2023

for daca972 #68134 adds a namespace as we are not using llvm::StringRef yet

for daca972 llvm#68134 adds a namespace
as we are not using llvm::StringRef yet
@llvmbot
Copy link
Member

llvmbot commented Oct 9, 2023

@llvm/pr-subscribers-clang-tidy

Changes

for daca972 #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 --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

@metaflow metaflow merged commit 60f7aa1 into llvm:main Oct 9, 2023
@metaflow metaflow deleted the clang-tidy-namespace branch October 9, 2023 11:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants