#include "IndexingContext.h"
#include "clang/AST/ASTConcept.h"
#include "clang/AST/Attr.h"
#include "clang/AST/Decl.h"
#include "clang/AST/DeclTemplate.h"
#include "clang/AST/DeclVisitor.h"
#include "clang/Index/IndexDataConsumer.h"
#include "clang/Index/IndexSymbol.h"
usingnamespaceclang;
usingnamespaceindex;
#define TRY_DECL(D,CALL_EXPR) …
#define TRY_TO(CALL_EXPR) …
namespace {
class IndexingDeclVisitor : public ConstDeclVisitor<IndexingDeclVisitor, bool> { … };
}
bool IndexingContext::indexDecl(const Decl *D) { … }
bool IndexingContext::indexDeclContext(const DeclContext *DC) { … }
bool IndexingContext::indexTopLevelDecl(const Decl *D) { … }
bool IndexingContext::indexDeclGroupRef(DeclGroupRef DG) { … }