This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "clang/AST/ASTConsumer.h" | |
#include "clang/AST/RecursiveASTVisitor.h" | |
#include "clang/Frontend/CompilerInstance.h" | |
#include "clang/Frontend/FrontendAction.h" | |
#include "clang/Tooling/Tooling.h" | |
#include "clang/Tooling/CommonOptionsParser.h" | |
#include "llvm/Support/CommandLine.h" | |
using namespace llvm; | |
using namespace clang; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include "console.hpp" | |
void Console::run() | |
{ | |
std::cout << "First message" << std::endl; | |
std::cout << "> " << std::flush; | |
connect(m_notifier, SIGNAL(activated(int)), this, SLOT(readCommand())); | |
} |