[clang] e3f91ac - Fix namespace of operator<< defn
Sam McCall via cfe-commits
cfe-commits at lists.llvm.org
Wed Jun 7 16:37:13 PDT 2023
Author: Sam McCall
Date: 2023-06-08T01:36:59+02:00
New Revision: e3f91acad38e6637f1589bb4b33e9c4b8b58581f
URL: https://github.com/llvm/llvm-project/commit/e3f91acad38e6637f1589bb4b33e9c4b8b58581f
DIFF: https://github.com/llvm/llvm-project/commit/e3f91acad38e6637f1589bb4b33e9c4b8b58581f.diff
LOG: Fix namespace of operator<< defn
Added:
Modified:
clang/lib/Basic/IdentifierTable.cpp
Removed:
################################################################################
diff --git a/clang/lib/Basic/IdentifierTable.cpp b/clang/lib/Basic/IdentifierTable.cpp
index 9be42c0f95ddc..2d1818d44ab82 100644
--- a/clang/lib/Basic/IdentifierTable.cpp
+++ b/clang/lib/Basic/IdentifierTable.cpp
@@ -849,7 +849,8 @@ StringRef clang::getNullabilitySpelling(NullabilityKind kind,
llvm_unreachable("Unknown nullability kind.");
}
-llvm::raw_ostream &operator<<(llvm::raw_ostream &OS, NullabilityKind NK) {
+llvm::raw_ostream &clang::operator<<(llvm::raw_ostream &OS,
+ NullabilityKind NK) {
switch (NK) {
case NullabilityKind::NonNull:
return OS << "NonNull";
More information about the cfe-commits
mailing list