Home | History | Annotate | Download | only in Frontend

Lines Matching defs:CompilerInstance

1 //===--- CompilerInstance.cpp ---------------------------------------------===//
10 #include "clang/Frontend/CompilerInstance.h"
50 CompilerInstance::CompilerInstance()
55 CompilerInstance::~CompilerInstance() {
59 void CompilerInstance::setInvocation(CompilerInvocation *Value) {
63 bool CompilerInstance::shouldBuildGlobalModuleIndex() const {
69 void CompilerInstance::setDiagnostics(DiagnosticsEngine *Value) {
73 void CompilerInstance::setTarget(TargetInfo *Value) {
77 void CompilerInstance::setFileManager(FileManager *Value) {
81 void CompilerInstance::setSourceManager(SourceManager *Value) {
85 void CompilerInstance::setPreprocessor(Preprocessor *Value) { PP = Value; }
87 void CompilerInstance::setASTContext(ASTContext *Value) { Context = Value; }
89 void CompilerInstance::setSema(Sema *S) {
93 void CompilerInstance::setASTConsumer(ASTConsumer *Value) {
97 void CompilerInstance::setCodeCompletionConsumer(CodeCompleteConsumer *Value) {
154 void CompilerInstance::createDiagnostics(DiagnosticConsumer *Client,
163 CompilerInstance::createDiagnostics(DiagnosticOptions *Opts,
202 void CompilerInstance::createFileManager() {
208 void CompilerInstance::createSourceManager(FileManager &FileMgr) {
214 void CompilerInstance::createPreprocessor() {
280 void CompilerInstance::createASTContext() {
290 void CompilerInstance::createPCHExternalASTSource(StringRef Path,
308 CompilerInstance::createPCHExternalASTSource(StringRef Path,
372 void CompilerInstance::createCodeCompletionConsumer() {
395 void CompilerInstance::createFrontendTimer() {
400 CompilerInstance::createCodeCompletionConsumer(Preprocessor &PP,
413 void CompilerInstance::createSema(TranslationUnitKind TUKind,
421 void CompilerInstance::addOutputFile(const OutputFile &OutFile) {
426 void CompilerInstance::clearOutputFiles(bool EraseFiles) {
457 CompilerInstance::createDefaultOutputFile(bool Binary,
466 CompilerInstance::createOutputFile(StringRef OutputPath,
495 CompilerInstance::createOutputFile(StringRef OutputPath,
577 bool CompilerInstance::InitializeSourceManager(const FrontendInputFile &Input){
583 bool CompilerInstance::InitializeSourceManager(const FrontendInputFile &Input,
645 bool CompilerInstance::ExecuteAction(FrontendAction &Act) {
733 CompilerInstance &Instance;
765 static void compileModule(CompilerInstance &ImportingInstance,
865 CompilerInstance Instance;
908 CompilerInstance::loadModule(SourceLocation ImportLoc,
1243 void CompilerInstance::makeModuleVisible(Module *Mod,