Lines Matching full:instance
78 CompilerInstance Instance(CI.getPCHContainerOperations()); in onBodySynthesis() local
79 Instance.setInvocation(std::move(Invocation)); in onBodySynthesis()
80 Instance.createDiagnostics( in onBodySynthesis()
84 Instance.getDiagnostics().setSourceManager(&SM); in onBodySynthesis()
86 // The instance wants to take ownership, however DisableFree frontend option in onBodySynthesis()
88 Instance.setFileManager(&CI.getFileManager()); in onBodySynthesis()
89 Instance.setSourceManager(&SM); in onBodySynthesis()
90 Instance.setPreprocessor(CI.getPreprocessorPtr()); in onBodySynthesis()
91 Instance.setASTContext(&CI.getASTContext()); in onBodySynthesis()
93 Instance.getPreprocessor().InitializeForModelFile(); in onBodySynthesis()
99 CRC.RunSafelyOnThread([&]() { Instance.ExecuteAction(parseModelFile); }, in onBodySynthesis()
102 Instance.getPreprocessor().FinalizeForModelFile(); in onBodySynthesis()
104 Instance.resetAndLeakSourceManager(); in onBodySynthesis()
105 Instance.resetAndLeakFileManager(); in onBodySynthesis()
106 Instance.resetAndLeakPreprocessor(); in onBodySynthesis()