Home | History | Annotate | Download | only in Frontend

Lines Matching defs:CompilerInstance

1 //===--- CompilerInstance.cpp ---------------------------------------------===//
10 #include "clang/Frontend/CompilerInstance.h"
55 CompilerInstance::CompilerInstance(
64 CompilerInstance::~CompilerInstance() {
68 void CompilerInstance::setInvocation(CompilerInvocation *Value) {
72 bool CompilerInstance::shouldBuildGlobalModuleIndex() const {
79 void CompilerInstance::setDiagnostics(DiagnosticsEngine *Value) {
83 void CompilerInstance::setTarget(TargetInfo *Value) { Target = Value; }
84 void CompilerInstance::setAuxTarget(TargetInfo *Value) { AuxTarget = Value; }
86 void CompilerInstance::setFileManager(FileManager *Value) {
94 void CompilerInstance::setSourceManager(SourceManager *Value) {
98 void CompilerInstance::setPreprocessor(Preprocessor *Value) { PP = Value; }
100 void CompilerInstance::setASTContext(ASTContext *Value) {
107 void CompilerInstance::setSema(Sema *S) {
111 void CompilerInstance::setASTConsumer(std::unique_ptr<ASTConsumer> Value) {
118 void CompilerInstance::setCodeCompletionConsumer(CodeCompleteConsumer *Value) {
122 std::unique_ptr<Sema> CompilerInstance::takeSema() {
126 IntrusiveRefCntPtr<ASTReader> CompilerInstance::getModuleManager() const {
129 void CompilerInstance::setModuleManager(IntrusiveRefCntPtr<ASTReader> Reader) {
134 CompilerInstance::getModuleDepCollector() const {
138 void CompilerInstance::setModuleDepCollector(
190 void CompilerInstance::createDiagnostics(DiagnosticConsumer *Client,
197 CompilerInstance::createDiagnostics(DiagnosticOptions *Opts,
232 void CompilerInstance::createFileManager() {
242 void CompilerInstance::createSourceManager(FileManager &FileMgr) {
298 void CompilerInstance::createPreprocessor(TranslationUnitKind TUKind) {
386 std::string CompilerInstance::getSpecificModuleCachePath() {
398 void CompilerInstance::createASTContext() {
409 void CompilerInstance::createPCHExternalASTSource(
423 IntrusiveRefCntPtr<ASTReader> CompilerInstance::createPCHExternalASTSource(
493 void CompilerInstance::createCodeCompletionConsumer() {
516 void CompilerInstance::createFrontendTimer() {
523 CompilerInstance::createCodeCompletionConsumer(Preprocessor &PP,
536 void CompilerInstance::createSema(TranslationUnitKind TUKind,
544 void CompilerInstance::addOutputFile(OutputFile &&OutFile) {
549 void CompilerInstance::clearOutputFiles(bool EraseFiles) {
580 CompilerInstance::createDefaultOutputFile(bool Binary, StringRef InFile,
587 llvm::raw_null_ostream *CompilerInstance::createNullOutputFile() {
595 CompilerInstance::createOutputFile(StringRef OutputPath, bool Binary,
619 std::unique_ptr<llvm::raw_pwrite_stream> CompilerInstance::createOutputFile(
720 bool CompilerInstance::InitializeSourceManager(const FrontendInputFile &Input){
728 bool CompilerInstance::InitializeSourceManager(
824 bool CompilerInstance::ExecuteAction(FrontendAction &Act) {
923 static bool compileModuleImpl(CompilerInstance &ImportingInstance,
984 CompilerInstance Instance(ImportingInstance.getPCHContainerOperations(),
1067 static bool compileAndLoadModule(CompilerInstance &ImportingInstance,
1285 void CompilerInstance::createModuleManager() {
1334 bool CompilerInstance::loadModuleFile(StringRef FileName) {
1344 CompilerInstance &CI;
1347 ReadModuleNames(CompilerInstance &CI) : CI(CI) {}
1410 CompilerInstance::loadModule(SourceLocation ImportLoc,
1667 void CompilerInstance::makeModuleVisible(Module *Mod,
1678 GlobalModuleIndex *CompilerInstance::loadGlobalModuleIndex(
1737 CompilerInstance::lookupMissingImports(StringRef Name,
1760 void CompilerInstance::resetAndLeakSema() { BuryPointer(takeSema()); }