nullptr.cpp updated this revision to Diff 322896. nullptr.cpp added a comment.
Fix format Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D96478/new/ https://reviews.llvm.org/D96478 Files: clang/lib/Frontend/TestModuleFileExtension.cpp Index: clang/lib/Frontend/TestModuleFileExtension.cpp =================================================================== --- clang/lib/Frontend/TestModuleFileExtension.cpp +++ clang/lib/Frontend/TestModuleFileExtension.cpp @@ -128,9 +128,11 @@ new TestModuleFileExtension::Reader(this, Stream)); } -llvm::raw_ostream &clang::operator<<(llvm::raw_ostream &OS, - const TestModuleFileExtension &Extension) { +namespace clang { +llvm::raw_ostream &operator<<(llvm::raw_ostream &OS, + const TestModuleFileExtension &Extension) { return OS << Extension.BlockName << ":" << Extension.MajorVersion << ":" << Extension.MinorVersion << ":" << Extension.Hashed << ":" << Extension.UserInfo; } +} // namespace clang
Index: clang/lib/Frontend/TestModuleFileExtension.cpp =================================================================== --- clang/lib/Frontend/TestModuleFileExtension.cpp +++ clang/lib/Frontend/TestModuleFileExtension.cpp @@ -128,9 +128,11 @@ new TestModuleFileExtension::Reader(this, Stream)); } -llvm::raw_ostream &clang::operator<<(llvm::raw_ostream &OS, - const TestModuleFileExtension &Extension) { +namespace clang { +llvm::raw_ostream &operator<<(llvm::raw_ostream &OS, + const TestModuleFileExtension &Extension) { return OS << Extension.BlockName << ":" << Extension.MajorVersion << ":" << Extension.MinorVersion << ":" << Extension.Hashed << ":" << Extension.UserInfo; } +} // namespace clang
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits