summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2015-12-18 22:58:42 +0000
committerZachary Turner <zturner@google.com>2015-12-18 22:58:42 +0000
commit6bc7f97f568405044a3d234daced1aed2ccc8ec7 (patch)
tree13da5cf7788a47257b8687e8d0b575a83aa21d36
parent64390b4238b674112708d616f1aafc3b00c5c72e (diff)
downloadbcm5719-llvm-6bc7f97f568405044a3d234daced1aed2ccc8ec7.tar.gz
bcm5719-llvm-6bc7f97f568405044a3d234daced1aed2ccc8ec7.zip
Fix invalid enum comparison.
llvm-svn: 256055
-rw-r--r--clang/unittests/Format/FormatTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/unittests/Format/FormatTest.cpp b/clang/unittests/Format/FormatTest.cpp
index ec53c658216..1f09ee3d513 100644
--- a/clang/unittests/Format/FormatTest.cpp
+++ b/clang/unittests/Format/FormatTest.cpp
@@ -9889,7 +9889,7 @@ TEST_F(FormatTest, ParsesConfiguration) {
CHECK_PARSE("AlwaysBreakAfterReturnType: All", AlwaysBreakAfterReturnType,
FormatStyle::RTBS_All);
CHECK_PARSE("AlwaysBreakAfterReturnType: TopLevel",
- AlwaysBreakAfterReturnType, FormatStyle::DRTBS_TopLevel);
+ AlwaysBreakAfterReturnType, FormatStyle::RTBS_TopLevel);
CHECK_PARSE("AlwaysBreakAfterReturnType: AllDefinitions",
AlwaysBreakAfterReturnType, FormatStyle::RTBS_AllDefinitions);
CHECK_PARSE("AlwaysBreakAfterReturnType: TopLevelDefinitions",
OpenPOWER on IntegriCloud