aboutsummaryrefslogtreecommitdiff
path: root/lib/Checker/NoReturnFunctionChecker.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Checker/NoReturnFunctionChecker.cpp')
-rw-r--r--lib/Checker/NoReturnFunctionChecker.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Checker/NoReturnFunctionChecker.cpp b/lib/Checker/NoReturnFunctionChecker.cpp
index 80fea99c36..1a902dc2d8 100644
--- a/lib/Checker/NoReturnFunctionChecker.cpp
+++ b/lib/Checker/NoReturnFunctionChecker.cpp
@@ -37,7 +37,7 @@ void NoReturnFunctionChecker::PostVisitCallExpr(CheckerContext &C,
const GRState *state = C.getState();
const Expr *Callee = CE->getCallee();
- bool BuildSinks = Callee->getType().getNoReturnAttr();
+ bool BuildSinks = Callee->getType()->getNoReturnAttr();
if (!BuildSinks) {
SVal L = state->getSVal(Callee);