aboutsummaryrefslogtreecommitdiff
path: root/include/clang/Index/Program.h
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2009-07-29 23:38:45 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2009-07-29 23:38:45 +0000
commit16d8bcf248f15d0479b3ccf40297f9ed107db3f1 (patch)
treef2743f461bcacdec06704977b73f524550263710 /include/clang/Index/Program.h
parent77b4a79dd845fa93027f458049a7f71402006414 (diff)
Accept Handler objects in parameters as references.
Reinforces that they shouldn't be null and it's a bit more natural when they are passed as stack objects. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@77526 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Index/Program.h')
-rw-r--r--include/clang/Index/Program.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/clang/Index/Program.h b/include/clang/Index/Program.h
index 1a08118ca5..2605bb685a 100644
--- a/include/clang/Index/Program.h
+++ b/include/clang/Index/Program.h
@@ -34,7 +34,7 @@ public:
~Program();
/// \brief Traverses the AST and passes all the entities to the Handler.
- void FindEntities(ASTContext &Ctx, EntityHandler *Handler);
+ void FindEntities(ASTContext &Ctx, EntityHandler &Handler);
};
} // namespace idx