[clang-tools-extra] ffacaa0 - Fix unused function 'operator<<' -Wunused-function warning introduced in D124500

Simon Pilgrim via cfe-commits cfe-commits at lists.llvm.org
Sat May 14 05:48:42 PDT 2022


Author: Simon Pilgrim
Date: 2022-05-14T13:48:26+01:00
New Revision: ffacaa0beccbe318090be600f8d2d2c33c33cbd6

URL: https://github.com/llvm/llvm-project/commit/ffacaa0beccbe318090be600f8d2d2c33c33cbd6
DIFF: https://github.com/llvm/llvm-project/commit/ffacaa0beccbe318090be600f8d2d2c33c33cbd6.diff

LOG: Fix unused function 'operator<<' -Wunused-function warning introduced in D124500

Added: 
    

Modified: 
    clang-tools-extra/unittests/clang-tidy/ModernizeModuleTest.cpp

Removed: 
    


################################################################################
diff  --git a/clang-tools-extra/unittests/clang-tidy/ModernizeModuleTest.cpp b/clang-tools-extra/unittests/clang-tidy/ModernizeModuleTest.cpp
index 38347ded439b9..65bf0691372cc 100644
--- a/clang-tools-extra/unittests/clang-tidy/ModernizeModuleTest.cpp
+++ b/clang-tools-extra/unittests/clang-tidy/ModernizeModuleTest.cpp
@@ -206,9 +206,3 @@ INSTANTIATE_TEST_SUITE_P(TokenExpressionParserTests, MatcherTest,
 } // namespace test
 } // namespace tidy
 } // namespace clang
-
-std::ostream &operator<<(std::ostream &Str,
-                         const clang::tidy::test::Param &Value) {
-  return Str << "Matched: " << std::boolalpha << Value.Matched << ", Text: '"
-             << Value.Text << "'";
-}


        


More information about the cfe-commits mailing list