Lines Matching refs: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 Instance.setVirtualFileSystem(&CI.getVirtualFileSystem()); in onBodySynthesis()
90 Instance.setFileManager(&CI.getFileManager()); in onBodySynthesis()
91 Instance.setSourceManager(&SM); in onBodySynthesis()
92 Instance.setPreprocessor(CI.getPreprocessorPtr()); in onBodySynthesis()
93 Instance.setASTContext(&CI.getASTContext()); in onBodySynthesis()
95 Instance.getPreprocessor().InitializeForModelFile(); in onBodySynthesis()
101 CRC.RunSafelyOnThread([&]() { Instance.ExecuteAction(parseModelFile); }, in onBodySynthesis()
104 Instance.getPreprocessor().FinalizeForModelFile(); in onBodySynthesis()
106 Instance.resetAndLeakSourceManager(); in onBodySynthesis()
107 Instance.resetAndLeakFileManager(); in onBodySynthesis()
108 Instance.resetAndLeakPreprocessor(); in onBodySynthesis()