From fa27c01c8666cb24821a0af3c58d6a23f8c54726 Mon Sep 17 00:00:00 2001 From: bloodstalker Date: Thu, 20 Dec 2018 03:54:59 +0330 Subject: build uses pch now. kinda cool but our build time bottleneck seems to be linking --- cgrep.cpp | 24 +----------------------- 1 file changed, 1 insertion(+), 23 deletions(-) (limited to 'cgrep.cpp') diff --git a/cgrep.cpp b/cgrep.cpp index 1c4ab3f..e09ad63 100644 --- a/cgrep.cpp +++ b/cgrep.cpp @@ -7,30 +7,8 @@ * */ /*************************************************************************************************/ /*included modules*/ -/*project headers*/ +#include "./pch.hpp" #include "./cfe-extra/cfe_extra.h" -/*standard headers*/ -#include -#include -#include -#include -#include -#include -#include -#include -/*LLVM headers*/ -#include "clang/AST/AST.h" -#include "clang/AST/ASTConsumer.h" -#include "clang/ASTMatchers/ASTMatchFinder.h" -#include "clang/ASTMatchers/ASTMatchers.h" -#include "clang/Basic/LLVM.h" -#include "clang/Frontend/CompilerInstance.h" -#include "clang/Frontend/FrontendActions.h" -#include "clang/Lex/Lexer.h" -#include "clang/Rewrite/Core/Rewriter.h" -#include "clang/Tooling/CommonOptionsParser.h" -#include "clang/Tooling/Tooling.h" -#include "llvm/Support/raw_ostream.h" /*************************************************************************************************/ /*used namespaces*/ using namespace llvm; -- cgit v1.2.3