| 1158 | SkipProcessed(IndexParam ¶m) : param(param) {} |
| 1159 | void Initialize(ASTContext &ctx) override { this->ctx = &ctx; } |
| 1160 | bool shouldSkipFunctionBody(Decl *d) override { |
| 1161 | const SourceManager &sm = ctx->getSourceManager(); |
| 1162 | FileID fid = sm.getFileID(sm.getExpansionLoc(d->getLocation())); |
| 1163 | return !(g_config->index.multiVersion && param.useMultiVersion(fid)) && !param.consumeFile(fid); |
| 1164 | } |
| 1165 | }; |
| 1166 | |
| 1167 | std::shared_ptr<Preprocessor> pp = ci.getPreprocessorPtr(); |
nothing calls this directly
no test coverage detected