summaryrefslogtreecommitdiffstats
path: root/clang/tools
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2010-02-18 22:36:18 +0000
committerTed Kremenek <kremenek@apple.com>2010-02-18 22:36:18 +0000
commite21102523a47ea70503529bf75a2c526df7fb377 (patch)
tree0f3bc2aafc98bfe0def69f4a686478d5d5e56349 /clang/tools
parentc94892513de8361d1c4f71c503834c6f70446a4c (diff)
downloadbcm5719-llvm-e21102523a47ea70503529bf75a2c526df7fb377.tar.gz
bcm5719-llvm-e21102523a47ea70503529bf75a2c526df7fb377.zip
Revert "Sort visitor methods so we can easily tell what's implemented."
This reverts commit 4383e04c75731f8695b8355783f9966ac56b0926. llvm-svn: 96622
Diffstat (limited to 'clang/tools')
-rw-r--r--clang/tools/CIndex/CIndex.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/clang/tools/CIndex/CIndex.cpp b/clang/tools/CIndex/CIndex.cpp
index b8ceb5faf12..61e9210aa50 100644
--- a/clang/tools/CIndex/CIndex.cpp
+++ b/clang/tools/CIndex/CIndex.cpp
@@ -256,27 +256,27 @@ public:
// Declaration visitors
bool VisitAttributes(Decl *D);
bool VisitDeclContext(DeclContext *DC);
- bool VisitDeclaratorDecl(DeclaratorDecl *DD);
+ bool VisitTranslationUnitDecl(TranslationUnitDecl *D);
+ bool VisitTypedefDecl(TypedefDecl *D);
+ bool VisitTagDecl(TagDecl *D);
bool VisitEnumConstantDecl(EnumConstantDecl *D);
- bool VisitFieldDecl(FieldDecl *D);
+ bool VisitDeclaratorDecl(DeclaratorDecl *DD);
bool VisitFunctionDecl(FunctionDecl *ND);
- bool VisitObjCCategoryDecl(ObjCCategoryDecl *ND);
- bool VisitObjCCategoryImplDecl(ObjCCategoryImplDecl *D);
- bool VisitObjCClassDecl(ObjCClassDecl *D);
- // FIXME: ObjCCompatibleAliasDecl requires aliased-class locations.
+ bool VisitFieldDecl(FieldDecl *D);
+ bool VisitVarDecl(VarDecl *);
+ bool VisitObjCMethodDecl(ObjCMethodDecl *ND);
bool VisitObjCContainerDecl(ObjCContainerDecl *D);
- bool VisitObjCForwardProtocolDecl(ObjCForwardProtocolDecl *D);
+ bool VisitObjCCategoryDecl(ObjCCategoryDecl *ND);
+ bool VisitObjCProtocolDecl(ObjCProtocolDecl *PID);
+ bool VisitObjCInterfaceDecl(ObjCInterfaceDecl *D);
bool VisitObjCImplDecl(ObjCImplDecl *D);
+ bool VisitObjCCategoryImplDecl(ObjCCategoryImplDecl *D);
bool VisitObjCImplementationDecl(ObjCImplementationDecl *D);
- bool VisitObjCInterfaceDecl(ObjCInterfaceDecl *D);
- bool VisitObjCMethodDecl(ObjCMethodDecl *ND);
// FIXME: ObjCPropertyDecl requires TypeSourceInfo, getter/setter locations,
// etc.
- bool VisitObjCProtocolDecl(ObjCProtocolDecl *PID);
- bool VisitTagDecl(TagDecl *D);
- bool VisitTranslationUnitDecl(TranslationUnitDecl *D);
- bool VisitTypedefDecl(TypedefDecl *D);
- bool VisitVarDecl(VarDecl *);
+ // FIXME: ObjCCompatibleAliasDecl requires aliased-class locations.
+ bool VisitObjCForwardProtocolDecl(ObjCForwardProtocolDecl *D);
+ bool VisitObjCClassDecl(ObjCClassDecl *D);
// Type visitors
// FIXME: QualifiedTypeLoc doesn't provide any location information
OpenPOWER on IntegriCloud