From a2ccebe27554d196fbcadf4fd230fb1b4b14090a Mon Sep 17 00:00:00 2001 From: bloodstalker Date: Thu, 30 Apr 2020 19:32:01 +0430 Subject: working on the test script --- cgrep.cpp | 24 ++---------------------- 1 file changed, 2 insertions(+), 22 deletions(-) (limited to 'cgrep.cpp') diff --git a/cgrep.cpp b/cgrep.cpp index 0a0888c..15ee524 100644 --- a/cgrep.cpp +++ b/cgrep.cpp @@ -7,27 +7,7 @@ * */ /***********************************************************************************************/ /*included modules*/ -#include "./cfe-extra/cfe_extra.h" -#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" -#include -#include -#include -#include -#include -#include -#include -#include +#include "pch.hpp" /***********************************************************************************************/ /*used namespaces*/ using namespace llvm; @@ -209,7 +189,7 @@ static std::string get_line_from_file(SourceManager &SM, */ std::string regex_preprocessor(const std::string &rx_str) { std::string ret_rx_str; - return ret_rx_str; + return rx_str; } bool regex_handler(std::string rx_str, std::string identifier_name) { -- cgit v1.2.3