diff --git a/src/CTUApexAction.cpp b/src/CTUApexAction.cpp index 5acd247aa6866186ee2c3dc73f8c852da3ce86c8..79bd5d793956dbe8ebf20492be91657b4f6b96d6 100644 --- a/src/CTUApexAction.cpp +++ b/src/CTUApexAction.cpp @@ -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 diff --git a/src/CTUApexVisitor.cpp b/src/CTUApexVisitor.cpp index aaa05b44453acbe690d9dd577f275075ecdf6e61..b8377046284671ed15df81c0c6da6ea9e24bc7b6 100644 --- a/src/CTUApexVisitor.cpp +++ b/src/CTUApexVisitor.cpp @@ -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; }