aboutsummaryrefslogtreecommitdiff
path: root/lib/Checker/NoReturnFunctionChecker.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2010-03-29 03:39:46 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2010-03-29 03:39:46 +0000
commit802c66edc5073991f2315ea84ecace1867c6027f (patch)
tree7694a103593d857c2fd1b692b4a7d78e995aaaa3 /lib/Checker/NoReturnFunctionChecker.cpp
parenta7cde3bb62eccc087821ee91c4ee4f6fd9a76b44 (diff)
Be a bit more consistent in using operator->
This patch moves some methods from QualType to Type and changes the users to use -> instead of . git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@99805 91177308-0d34-0410-b5e6-96231b3b80d8
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);