aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/CFG.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/Analysis/CFG.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/Analysis/CFG.cpp')
-rw-r--r--lib/Analysis/CFG.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Analysis/CFG.cpp b/lib/Analysis/CFG.cpp
index a4a021f20b..e93ddb34ca 100644
--- a/lib/Analysis/CFG.cpp
+++ b/lib/Analysis/CFG.cpp
@@ -571,7 +571,7 @@ static bool CanThrow(Expr *E) {
CFGBlock *CFGBuilder::VisitCallExpr(CallExpr *C, AddStmtChoice asc) {
// If this is a call to a no-return function, this stops the block here.
bool NoReturn = false;
- if (C->getCallee()->getType().getNoReturnAttr()) {
+ if (C->getCallee()->getType()->getNoReturnAttr()) {
NoReturn = true;
}