summaryrefslogtreecommitdiffstats
path: root/clang/tools/c-index-test/core_main.cpp
diff options
context:
space:
mode:
authorKirill Bobyrev <kbobyrev@google.com>2019-12-16 10:33:56 +0100
committerKirill Bobyrev <kbobyrev@google.com>2019-12-16 10:54:40 +0100
commit3b9715cb219352fb831af144fd68e14e8fd275b4 (patch)
tree6cda9f7523bed2dc16c77b6ed0cad1d0373e4b78 /clang/tools/c-index-test/core_main.cpp
parentf49d15b3f8ccd7737a62d40adfe5ff1e710788d4 (diff)
downloadbcm5719-llvm-3b9715cb219352fb831af144fd68e14e8fd275b4.tar.gz
bcm5719-llvm-3b9715cb219352fb831af144fd68e14e8fd275b4.zip
[NFC] Fix typos in Clangd and Clang
Reviewed by: Jim Differential Revision: https://reviews.llvm.org/D71455
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