Lines Matching refs:Instance
79 CompilerInstance Instance(CI.getPCHContainerOperations());
80 Instance.setInvocation(&*Invocation);
81 Instance.createDiagnostics(
85 Instance.getDiagnostics().setSourceManager(&SM);
87 Instance.setVirtualFileSystem(&CI.getVirtualFileSystem());
89 // The instance wants to take ownership, however DisableFree frontend option
91 Instance.setFileManager(&CI.getFileManager());
92 Instance.setSourceManager(&SM);
93 Instance.setPreprocessor(&CI.getPreprocessor());
94 Instance.setASTContext(&CI.getASTContext());
96 Instance.getPreprocessor().InitializeForModelFile();
103 CRC.RunSafelyOnThread([&]() { Instance.ExecuteAction(parseModelFile); },
106 Instance.getPreprocessor().FinalizeForModelFile();
108 Instance.resetAndLeakSourceManager();
109 Instance.resetAndLeakFileManager();
110 Instance.resetAndLeakPreprocessor();