diff options
Diffstat (limited to 'clang/unittests/StaticAnalyzer')
| -rw-r--r-- | clang/unittests/StaticAnalyzer/RegisterCustomCheckersTest.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/unittests/StaticAnalyzer/RegisterCustomCheckersTest.cpp b/clang/unittests/StaticAnalyzer/RegisterCustomCheckersTest.cpp index ba99548a703..d8988a0ee30 100644 --- a/clang/unittests/StaticAnalyzer/RegisterCustomCheckersTest.cpp +++ b/clang/unittests/StaticAnalyzer/RegisterCustomCheckersTest.cpp @@ -88,8 +88,9 @@ public: void checkLocation(SVal Loc, bool IsLoad, const Stmt *S, CheckerContext &C) const { auto UnaryOp = dyn_cast<UnaryOperator>(S); - if (UnaryOp && !IsLoad) + if (UnaryOp && !IsLoad) { EXPECT_FALSE(UnaryOp->isIncrementOp()); + } } }; |

