Home | History | Annotate | Download | only in Frontend

Lines Matching refs:CompilerInstance

1 //===--- CompilerInstance.cpp ---------------------------------------------===//
10 #include "clang/Frontend/CompilerInstance.h"
54 CompilerInstance::CompilerInstance(bool BuildingModule)
61 CompilerInstance::~CompilerInstance() {
65 void CompilerInstance::setInvocation(CompilerInvocation *Value) {
69 bool CompilerInstance::shouldBuildGlobalModuleIndex() const {
76 void CompilerInstance::setDiagnostics(DiagnosticsEngine *Value) {
80 void CompilerInstance::setTarget(TargetInfo *Value) {
84 void CompilerInstance::setFileManager(FileManager *Value) {
92 void CompilerInstance::setSourceManager(SourceManager *Value) {
96 void CompilerInstance::setPreprocessor(Preprocessor *Value) { PP = Value; }
98 void CompilerInstance::setASTContext(ASTContext *Value) { Context = Value; }
100 void CompilerInstance::setSema(Sema *S) {
104 void CompilerInstance::setASTConsumer(ASTConsumer *Value) {
108 void CompilerInstance::setCodeCompletionConsumer(CodeCompleteConsumer *Value) {
112 IntrusiveRefCntPtr<ASTReader> CompilerInstance::getModuleManager() const {
115 void CompilerInstance::setModuleManager(IntrusiveRefCntPtr<ASTReader> Reader) {
120 CompilerInstance::getModuleDepCollector() const {
124 void CompilerInstance::setModuleDepCollector(
181 void CompilerInstance::createDiagnostics(DiagnosticConsumer *Client,
188 CompilerInstance::createDiagnostics(DiagnosticOptions *Opts,
223 void CompilerInstance::createFileManager() {
233 void CompilerInstance::createSourceManager(FileManager &FileMgr) {
289 void CompilerInstance::createPreprocessor(TranslationUnitKind TUKind) {
378 void CompilerInstance::createASTContext() {
388 void CompilerInstance::createPCHExternalASTSource(
402 ExternalASTSource *CompilerInstance::createPCHExternalASTSource(
468 void CompilerInstance::createCodeCompletionConsumer() {
491 void CompilerInstance::createFrontendTimer() {
496 CompilerInstance::createCodeCompletionConsumer(Preprocessor &PP,
509 void CompilerInstance::createSema(TranslationUnitKind TUKind,
517 void CompilerInstance::addOutputFile(const OutputFile &OutFile) {
522 void CompilerInstance::clearOutputFiles(bool EraseFiles) {
551 CompilerInstance::createDefaultOutputFile(bool Binary,
559 llvm::raw_null_ostream *CompilerInstance::createNullOutputFile() {
566 CompilerInstance::createOutputFile(StringRef OutputPath,
595 CompilerInstance::createOutputFile(StringRef OutputPath,
693 bool CompilerInstance::InitializeSourceManager(const FrontendInputFile &Input){
699 bool CompilerInstance::InitializeSourceManager(const FrontendInputFile &Input,
767 bool CompilerInstance::ExecuteAction(FrontendAction &Act) {
856 static void compileModuleImpl(CompilerInstance &ImportingInstance,
916 CompilerInstance Instance(/*BuildingModule=*/true);
984 static bool compileAndLoadModule(CompilerInstance &ImportingInstance,
1209 void CompilerInstance::createModuleManager() {
1247 CompilerInstance::loadModule(SourceLocation ImportLoc,
1509 void CompilerInstance::makeModuleVisible(Module *Mod,
1516 GlobalModuleIndex *CompilerInstance::loadGlobalModuleIndex(
1574 CompilerInstance::lookupMissingImports(StringRef Name,