aboutsummaryrefslogtreecommitdiffstats
path: root/cgrep.cpp
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2018-12-20 00:24:59 +0000
committerbloodstalker <thabogre@gmail.com>2018-12-20 00:24:59 +0000
commitfa27c01c8666cb24821a0af3c58d6a23f8c54726 (patch)
treef3487fc8bd422932f42d0ec13dc9748ee8788608 /cgrep.cpp
parenttravis badge (diff)
downloadcgrep-fa27c01c8666cb24821a0af3c58d6a23f8c54726.tar.gz
cgrep-fa27c01c8666cb24821a0af3c58d6a23f8c54726.zip
build uses pch now. kinda cool but our build time bottleneck seems to be linking
Diffstat (limited to '')
-rw-r--r--cgrep.cpp24
1 files changed, 1 insertions, 23 deletions
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 <cassert>
-#include <cstdlib>
-#include <dirent.h>
-#include <fstream>
-#include <iostream>
-#include <regex>
-#include <string>
-#include <vector>
-/*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;