summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--clang/lib/Analysis/Store.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Analysis/Store.cpp b/clang/lib/Analysis/Store.cpp
index 49b37fa3520..6c6e7d272d3 100644
--- a/clang/lib/Analysis/Store.cpp
+++ b/clang/lib/Analysis/Store.cpp
@@ -47,8 +47,8 @@ StoreManager::NewCastRegion(const GRState *state, const MemRegion* R,
// CodeTextRegion should be cast to only function pointer type.
if (isa<CodeTextRegion>(R)) {
assert(CastToTy->isFunctionPointerType() || CastToTy->isBlockPointerType()
- || (CastToTy->isPointerType()
- && CastToTy->getAsPointerType()->getPointeeType()->isVoidType()));
+ || (CastToTy->isPointerType() &&
+ CastToTy->getAsPointerType()->getPointeeType()->isVoidType()));
return CastResult(state, R);
}
OpenPOWER on IntegriCloud