mirror of
https://github.com/intel/llvm.git
synced 2026-01-24 17:01:00 +08:00
[clang][index] NFC: Stylistic changes
This commit is contained in:
@@ -552,8 +552,7 @@ StringRef index::getSymbolSubKindString(SymbolSubKind K) {
|
||||
case SymbolSubKind::AccessorSetter: return "acc-set";
|
||||
case SymbolSubKind::UsingTypename: return "using-typename";
|
||||
case SymbolSubKind::UsingValue: return "using-value";
|
||||
case SymbolSubKind::UsingEnum:
|
||||
return "using-enum";
|
||||
case SymbolSubKind::UsingEnum: return "using-enum";
|
||||
}
|
||||
llvm_unreachable("invalid symbol subkind");
|
||||
}
|
||||
|
||||
@@ -199,7 +199,7 @@ index::createIndexingAction(std::shared_ptr<IndexDataConsumer> DataConsumer,
|
||||
}
|
||||
|
||||
static bool topLevelDeclVisitor(void *context, const Decl *D) {
|
||||
IndexingContext &IndexCtx = *static_cast<IndexingContext*>(context);
|
||||
IndexingContext &IndexCtx = *static_cast<IndexingContext *>(context);
|
||||
return IndexCtx.indexTopLevelDecl(D);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user