diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2012-10-03 01:58:28 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2012-10-03 01:58:28 +0000 |
commit | 95c579cae01118eadd311d445ff7f491d0011fb0 (patch) | |
tree | 5406baf045fdf12a8784171b3fb30145195f3b4c /include/clang/Frontend/ASTUnit.h | |
parent | 6880f492365cc4fa4c941aa83688635003ee7498 (diff) |
Some renames to use the 'visitor' nomenclature, no functionality change.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@165083 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Frontend/ASTUnit.h')
-rw-r--r-- | include/clang/Frontend/ASTUnit.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/clang/Frontend/ASTUnit.h b/include/clang/Frontend/ASTUnit.h index 454bf51292..e6ef410be4 100644 --- a/include/clang/Frontend/ASTUnit.h +++ b/include/clang/Frontend/ASTUnit.h @@ -615,13 +615,13 @@ public: /// \brief Type for a function iterating over a number of declarations. /// \returns true to continue iteration and false to abort. - typedef bool (*DeclReceiverFn)(void *context, const Decl *D); + typedef bool (*DeclVisitorFn)(void *context, const Decl *D); /// \brief Iterate over local declarations (locally parsed if this is a parsed /// source file or the loaded declarations of the primary module if this is an /// AST file). /// \returns true if the iteration was complete or false if it was aborted. - bool applyOnLocalTopLevelDecls(void *context, DeclReceiverFn Fn); + bool visitLocalTopLevelDecls(void *context, DeclVisitorFn Fn); llvm::MemoryBuffer *getBufferForFile(StringRef Filename, std::string *ErrorStr = 0); |