[clang] dbefb7e - [clang-format] Reformat. NFC.
Marek Kurdej via cfe-commits
cfe-commits at lists.llvm.org
Wed Mar 16 13:54:28 PDT 2022
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);
More information about the cfe-commits
mailing list