Home | History | Annotate | Download | only in Frontend

Lines Matching refs:CompilerInstance

1 //===--- CompilerInstance.cpp ---------------------------------------------===//
10 #include "clang/Frontend/CompilerInstance.h"
54 CompilerInstance::CompilerInstance(
62 CompilerInstance::~CompilerInstance() {
66 void CompilerInstance::setInvocation(CompilerInvocation *Value) {
70 bool CompilerInstance::shouldBuildGlobalModuleIndex() const {
77 void CompilerInstance::setDiagnostics(DiagnosticsEngine *Value) {
81 void CompilerInstance::setTarget(TargetInfo *Value) { Target = Value; }
82 void CompilerInstance::setAuxTarget(TargetInfo *Value) { AuxTarget = 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) {
105 void CompilerInstance::setSema(Sema *S) {
109 void CompilerInstance::setASTConsumer(std::unique_ptr<ASTConsumer> Value) {
116 void CompilerInstance::setCodeCompletionConsumer(CodeCompleteConsumer *Value) {
120 std::unique_ptr<Sema> CompilerInstance::takeSema() {
124 IntrusiveRefCntPtr<ASTReader> CompilerInstance::getModuleManager() const {
127 void CompilerInstance::setModuleManager(IntrusiveRefCntPtr<ASTReader> Reader) {
132 CompilerInstance::getModuleDepCollector() const {
136 void CompilerInstance::setModuleDepCollector(
188 void CompilerInstance::createDiagnostics(DiagnosticConsumer *Client,
195 CompilerInstance::createDiagnostics(DiagnosticOptions *Opts,
230 void CompilerInstance::createFileManager() {
240 void CompilerInstance::createSourceManager(FileManager &FileMgr) {
296 void CompilerInstance::createPreprocessor(TranslationUnitKind TUKind) {
380 std::string CompilerInstance::getSpecificModuleCachePath() {
392 void CompilerInstance::createASTContext() {
403 void CompilerInstance::createPCHExternalASTSource(
417 IntrusiveRefCntPtr<ASTReader> CompilerInstance::createPCHExternalASTSource(
487 void CompilerInstance::createCodeCompletionConsumer() {
510 void CompilerInstance::createFrontendTimer() {
517 CompilerInstance::createCodeCompletionConsumer(Preprocessor &PP,
530 void CompilerInstance::createSema(TranslationUnitKind TUKind,
538 void CompilerInstance::addOutputFile(OutputFile &&OutFile) {
543 void CompilerInstance::clearOutputFiles(bool EraseFiles) {
574 CompilerInstance::createDefaultOutputFile(bool Binary, StringRef InFile,
581 llvm::raw_null_ostream *CompilerInstance::createNullOutputFile() {
589 CompilerInstance::createOutputFile(StringRef OutputPath, bool Binary,
613 std::unique_ptr<llvm::raw_pwrite_stream> CompilerInstance::createOutputFile(
714 bool CompilerInstance::InitializeSourceManager(const FrontendInputFile &Input){
720 bool CompilerInstance::InitializeSourceManager(const FrontendInputFile &Input,
789 bool CompilerInstance::ExecuteAction(FrontendAction &Act) {
887 static bool compileModuleImpl(CompilerInstance &ImportingInstance,
948 CompilerInstance Instance(ImportingInstance.getPCHContainerOperations(),
1031 static bool compileAndLoadModule(CompilerInstance &ImportingInstance,
1249 void CompilerInstance::createModuleManager() {
1300 bool CompilerInstance::loadModuleFile(StringRef FileName) {
1310 CompilerInstance &CI;
1313 ReadModuleNames(CompilerInstance &CI) : CI(CI) {}
1376 CompilerInstance::loadModule(SourceLocation ImportLoc,
1639 void CompilerInstance::makeModuleVisible(Module *Mod,
1650 GlobalModuleIndex *CompilerInstance::loadGlobalModuleIndex(
1709 CompilerInstance::lookupMissingImports(StringRef Name,
1732 void CompilerInstance::resetAndLeakSema() { BuryPointer(takeSema()); }