summaryrefslogtreecommitdiffstats
path: root/clang/lib/Analysis/CheckNSError.cpp
diff options
context:
space:
mode:
authorZhongxing Xu <xuzhongxing@gmail.com>2009-08-06 12:48:26 +0000
committerZhongxing Xu <xuzhongxing@gmail.com>2009-08-06 12:48:26 +0000
commit107f75989c8a198a09bf0c8531e840827ce89e3a (patch)
treefaa18608889869d73cd412d7c3c89c920283d244 /clang/lib/Analysis/CheckNSError.cpp
parent644caa0cdb32d7e6b4457b2f1df76b1b615b24ae (diff)
downloadbcm5719-llvm-107f75989c8a198a09bf0c8531e840827ce89e3a.tar.gz
bcm5719-llvm-107f75989c8a198a09bf0c8531e840827ce89e3a.zip
Last step of template cleanup: merge *BuilderImpl to *Builder.
Some Builders need further cleanup. llvm-svn: 78301
Diffstat (limited to 'clang/lib/Analysis/CheckNSError.cpp')
-rw-r--r--clang/lib/Analysis/CheckNSError.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/lib/Analysis/CheckNSError.cpp b/clang/lib/Analysis/CheckNSError.cpp
index 0d67e016090..b9599ceb6ab 100644
--- a/clang/lib/Analysis/CheckNSError.cpp
+++ b/clang/lib/Analysis/CheckNSError.cpp
@@ -66,7 +66,7 @@ void clang::RegisterNSErrorChecks(BugReporter& BR, GRExprEngine &Eng) {
void NSErrorCheck::FlushReports(BugReporter& BR) {
// Get the analysis engine and the exploded analysis graph.
- GRExprEngine::GraphTy& G = Eng.getGraph();
+ ExplodedGraph& G = Eng.getGraph();
// Get the declaration of the method/function that was analyzed.
Decl& CodeDecl = G.getCodeDecl();
@@ -89,8 +89,8 @@ void NSErrorCheck::FlushReports(BugReporter& BR) {
if (ResultTy == Ctx.VoidTy) EmitRetTyWarning(BR, CodeDecl);
- for (GRExprEngine::GraphTy::roots_iterator RI=G.roots_begin(),
- RE=G.roots_end(); RI!=RE; ++RI) {
+ for (ExplodedGraph::roots_iterator RI=G.roots_begin(), RE=G.roots_end();
+ RI!=RE; ++RI) {
// Scan the parameters for an implicit null dereference.
for (llvm::SmallVectorImpl<VarDecl*>::iterator I=ErrorParams.begin(),
E=ErrorParams.end(); I!=E; ++I)
OpenPOWER on IntegriCloud