Home | History | Annotate | Download | only in Frontend

Lines Matching defs:CompilerInstance

1 //===--- CompilerInstance.cpp ---------------------------------------------===//
10 #include "clang/Frontend/CompilerInstance.h"
52 CompilerInstance::CompilerInstance()
57 CompilerInstance::~CompilerInstance() {
61 void CompilerInstance::setInvocation(CompilerInvocation *Value) {
65 bool CompilerInstance::shouldBuildGlobalModuleIndex() const {
72 void CompilerInstance::setDiagnostics(DiagnosticsEngine *Value) {
76 void CompilerInstance::setTarget(TargetInfo *Value) {
80 void CompilerInstance::setFileManager(FileManager *Value) {
84 void CompilerInstance::setSourceManager(SourceManager *Value) {
88 void CompilerInstance::setPreprocessor(Preprocessor *Value) { PP = Value; }
90 void CompilerInstance::setASTContext(ASTContext *Value) { Context = Value; }
92 void CompilerInstance::setSema(Sema *S) {
96 void CompilerInstance::setASTConsumer(ASTConsumer *Value) {
100 void CompilerInstance::setCodeCompletionConsumer(CodeCompleteConsumer *Value) {
157 void CompilerInstance::createDiagnostics(DiagnosticConsumer *Client,
164 CompilerInstance::createDiagnostics(DiagnosticOptions *Opts,
199 void CompilerInstance::createFileManager() {
205 void CompilerInstance::createSourceManager(FileManager &FileMgr) {
211 void CompilerInstance::createPreprocessor() {
277 void CompilerInstance::createASTContext() {
287 void CompilerInstance::createPCHExternalASTSource(StringRef Path,
305 CompilerInstance::createPCHExternalASTSource(StringRef Path,
370 void CompilerInstance::createCodeCompletionConsumer() {
393 void CompilerInstance::createFrontendTimer() {
398 CompilerInstance::createCodeCompletionConsumer(Preprocessor &PP,
411 void CompilerInstance::createSema(TranslationUnitKind TUKind,
419 void CompilerInstance::addOutputFile(const OutputFile &OutFile) {
424 void CompilerInstance::clearOutputFiles(bool EraseFiles) {
455 CompilerInstance::createDefaultOutputFile(bool Binary,
464 CompilerInstance::createOutputFile(StringRef OutputPath,
493 CompilerInstance::createOutputFile(StringRef OutputPath,
591 bool CompilerInstance::InitializeSourceManager(const FrontendInputFile &Input){
597 bool CompilerInstance::InitializeSourceManager(const FrontendInputFile &Input,
659 bool CompilerInstance::ExecuteAction(FrontendAction &Act) {
747 CompilerInstance &Instance;
779 static void compileModule(CompilerInstance &ImportingInstance,
880 CompilerInstance Instance;
1101 CompilerInstance::loadModule(SourceLocation ImportLoc,
1406 void CompilerInstance::makeModuleVisible(Module *Mod,