[clang] 36ea986 - [clang-format] Remove unnecessary qualifications. NFC.
Marek Kurdej via cfe-commits
cfe-commits at lists.llvm.org
Tue Dec 21 08:02:39 PST 2021
Author: Marek Kurdej
Date: 2021-12-21T17:02:26+01:00
New Revision: 36ea9861e3b58a715434cc2ec5ee2ebf7053bbc9
URL: https://github.com/llvm/llvm-project/commit/36ea9861e3b58a715434cc2ec5ee2ebf7053bbc9
DIFF: https://github.com/llvm/llvm-project/commit/36ea9861e3b58a715434cc2ec5ee2ebf7053bbc9.diff
LOG: [clang-format] Remove unnecessary qualifications. NFC.
Added:
Modified:
clang/unittests/Format/FormatTest.cpp
Removed:
################################################################################
diff --git a/clang/unittests/Format/FormatTest.cpp b/clang/unittests/Format/FormatTest.cpp
index 11b74580c317..eeb2fd04aae3 100644
--- a/clang/unittests/Format/FormatTest.cpp
+++ b/clang/unittests/Format/FormatTest.cpp
@@ -262,8 +262,8 @@ TEST_F(FormatTest, RemovesEmptyLines) {
"}",
getGoogleStyle()));
- auto CustomStyle = clang::format::getLLVMStyle();
- CustomStyle.BreakBeforeBraces = clang::format::FormatStyle::BS_Custom;
+ auto CustomStyle = getLLVMStyle();
+ CustomStyle.BreakBeforeBraces = FormatStyle::BS_Custom;
CustomStyle.BraceWrapping.AfterNamespace = true;
CustomStyle.KeepEmptyLinesAtTheStartOfBlocks = false;
EXPECT_EQ("namespace N\n"
More information about the cfe-commits
mailing list