summaryrefslogtreecommitdiffstats
path: root/clang/tools/c-index-test/core_main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/tools/c-index-test/core_main.cpp')
-rw-r--r--clang/tools/c-index-test/core_main.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/clang/tools/c-index-test/core_main.cpp b/clang/tools/c-index-test/core_main.cpp
index faf8b668b4e..c4025080124 100644
--- a/clang/tools/c-index-test/core_main.cpp
+++ b/clang/tools/c-index-test/core_main.cpp
@@ -94,9 +94,9 @@ public:
this->PP = std::move(PP);
}
- bool handleDeclOccurence(const Decl *D, SymbolRoleSet Roles,
- ArrayRef<SymbolRelation> Relations,
- SourceLocation Loc, ASTNodeInfo ASTNode) override {
+ bool handleDeclOccurrence(const Decl *D, SymbolRoleSet Roles,
+ ArrayRef<SymbolRelation> Relations,
+ SourceLocation Loc, ASTNodeInfo ASTNode) override {
ASTContext &Ctx = D->getASTContext();
SourceManager &SM = Ctx.getSourceManager();
@@ -132,9 +132,9 @@ public:
return true;
}
- bool handleModuleOccurence(const ImportDecl *ImportD,
- const clang::Module *Mod,
- SymbolRoleSet Roles, SourceLocation Loc) override {
+ bool handleModuleOccurrence(const ImportDecl *ImportD,
+ const clang::Module *Mod, SymbolRoleSet Roles,
+ SourceLocation Loc) override {
ASTContext &Ctx = ImportD->getASTContext();
SourceManager &SM = Ctx.getSourceManager();
@@ -156,8 +156,8 @@ public:
return true;
}
- bool handleMacroOccurence(const IdentifierInfo *Name, const MacroInfo *MI,
- SymbolRoleSet Roles, SourceLocation Loc) override {
+ bool handleMacroOccurrence(const IdentifierInfo *Name, const MacroInfo *MI,
+ SymbolRoleSet Roles, SourceLocation Loc) override {
assert(PP);
SourceManager &SM = PP->getSourceManager();
OpenPOWER on IntegriCloud