aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Format/BracesInserterTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/unittests/Format/BracesInserterTest.cpp')
-rw-r--r--clang/unittests/Format/BracesInserterTest.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/unittests/Format/BracesInserterTest.cpp b/clang/unittests/Format/BracesInserterTest.cpp
index e0c447d..572e53e 100644
--- a/clang/unittests/Format/BracesInserterTest.cpp
+++ b/clang/unittests/Format/BracesInserterTest.cpp
@@ -257,9 +257,9 @@ TEST_F(BracesInserterTest, InsertBracesRange) {
FormatStyle Style = getLLVMStyle();
Style.InsertBraces = true;
- const StringRef Code("while (a)\n"
- " if (b)\n"
- " return;");
+ constexpr StringRef Code("while (a)\n"
+ " if (b)\n"
+ " return;");
verifyFormat("while (a) {\n"
" if (b)\n"