Skip to content
Snippets Groups Projects
Commit 50a954bf authored by Heldmann, Tim's avatar Heldmann, Tim
Browse files

Silence loud functions

parent a27930ff
Branches
No related tags found
No related merge requests found
......@@ -7,8 +7,6 @@
std::unique_ptr<clang::ASTConsumer>
CTUApexAction::CreateASTConsumer(clang::CompilerInstance &Compiler, llvm::StringRef InFile) {
SPDLOG_DEBUG("Registering PP callback");
Compiler.getPreprocessor().addPPCallbacks(std::make_unique<PreprocessorExtract>(Compiler.getSourceManager(), includes, macros, pragmas));
SPDLOG_DEBUG("Registered PP callback");
return std::make_unique<CTUApexConsumer>(call_graph,includes,macros,pragmas);
}
\ No newline at end of file
......@@ -59,9 +59,9 @@ bool FunctionFinderVisitor::VisitFunctionDecl(clang::FunctionDecl *functionDecl)
return true;
}
// These are the uninstantiated template descriptions (I think)
// We traverse the instantiated once with VisitTemplateFunctionDecl
if (functionDecl->isDependentContext()) {
SPDLOG_DEBUG("Function {} is context dependent", functionDecl->getNameAsString());
return true;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment