[all-commits] [llvm/llvm-project] 9d99cf: [clang-tidy] Restore test parameter operator<< fun...
Richard Thomson via All-commits
all-commits at lists.llvm.org
Sat May 14 13:05:23 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9d99cf59a151a715ebebf3a4c4782dfdb48d7f4b
https://github.com/llvm/llvm-project/commit/9d99cf59a151a715ebebf3a4c4782dfdb48d7f4b
Author: Richard <legalize at xmission.com>
Date: 2022-05-14 (Sat, 14 May 2022)
Changed paths:
M clang-tools-extra/unittests/clang-tidy/ModernizeModuleTest.cpp
Log Message:
-----------
[clang-tidy] Restore test parameter operator<< function (NFC)
Clang erroneously flagged the function as "unused", but it is most
definitely used by gtest to pretty print the parameter value when
a test fails.
Make the pretty printing function a friend function in the parameter
class similar to other clang unit tests.
More information about the All-commits
mailing list