Author: Marek Kurdej Date: 2022-03-16T21:54:11+01:00 New Revision: dbefb7e86f82dcb1302b3d5559f733427d464a87
URL: https://github.com/llvm/llvm-project/commit/dbefb7e86f82dcb1302b3d5559f733427d464a87 DIFF: https://github.com/llvm/llvm-project/commit/dbefb7e86f82dcb1302b3d5559f733427d464a87.diff LOG: [clang-format] Reformat. NFC. Added: Modified: clang/unittests/Format/FormatTest.cpp Removed: ################################################################################ diff --git a/clang/unittests/Format/FormatTest.cpp b/clang/unittests/Format/FormatTest.cpp index 926bf8905c7a6..8ee6040cd0f69 100644 --- a/clang/unittests/Format/FormatTest.cpp +++ b/clang/unittests/Format/FormatTest.cpp @@ -9919,10 +9919,13 @@ TEST_F(FormatTest, UnderstandsFunctionRefQualification) { AlignLeft); verifyFormat("template <typename T> void operator=(T) &;", AlignLeft); verifyFormat("template <typename T> void operator=(T) const&;", AlignLeft); - verifyFormat("template <typename T> void operator=(T) & noexcept;", AlignLeft); - verifyFormat("template <typename T> void operator=(T) & = default;", AlignLeft); + verifyFormat("template <typename T> void operator=(T) & noexcept;", + AlignLeft); + verifyFormat("template <typename T> void operator=(T) & = default;", + AlignLeft); verifyFormat("template <typename T> void operator=(T) &&;", AlignLeft); - verifyFormat("template <typename T> void operator=(T) && = delete;", AlignLeft); + verifyFormat("template <typename T> void operator=(T) && = delete;", + AlignLeft); verifyFormat("template <typename T> void operator=(T) & {}", AlignLeft); verifyFormat("template <typename T> void operator=(T) && {}", AlignLeft); @@ -9948,10 +9951,13 @@ TEST_F(FormatTest, UnderstandsFunctionRefQualification) { AlignMiddle); verifyFormat("template <typename T> void operator=(T) &;", AlignMiddle); verifyFormat("template <typename T> void operator=(T) const &;", AlignMiddle); - verifyFormat("template <typename T> void operator=(T) & noexcept;", AlignMiddle); - verifyFormat("template <typename T> void operator=(T) & = default;", AlignMiddle); + verifyFormat("template <typename T> void operator=(T) & noexcept;", + AlignMiddle); + verifyFormat("template <typename T> void operator=(T) & = default;", + AlignMiddle); verifyFormat("template <typename T> void operator=(T) &&;", AlignMiddle); - verifyFormat("template <typename T> void operator=(T) && = delete;", AlignMiddle); + verifyFormat("template <typename T> void operator=(T) && = delete;", + AlignMiddle); verifyFormat("template <typename T> void operator=(T) & {}", AlignMiddle); verifyFormat("template <typename T> void operator=(T) && {}", AlignMiddle); _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits