Lines Matching refs:Instance
76 CompilerInstance Instance(std::move(Invocation), in onBodySynthesis() local
78 Instance.createDiagnostics( in onBodySynthesis()
83 Instance.getDiagnostics().setSourceManager(&SM); in onBodySynthesis()
87 Instance.setFileManager(&CI.getFileManager()); in onBodySynthesis()
88 Instance.setSourceManager(&SM); in onBodySynthesis()
89 Instance.setPreprocessor(CI.getPreprocessorPtr()); in onBodySynthesis()
90 Instance.setASTContext(&CI.getASTContext()); in onBodySynthesis()
92 Instance.getPreprocessor().InitializeForModelFile(); in onBodySynthesis()
98 CRC.RunSafelyOnThread([&]() { Instance.ExecuteAction(parseModelFile); }, in onBodySynthesis()
101 Instance.getPreprocessor().FinalizeForModelFile(); in onBodySynthesis()
103 Instance.resetAndLeakSourceManager(); in onBodySynthesis()
104 Instance.resetAndLeakFileManager(); in onBodySynthesis()
105 Instance.resetAndLeakPreprocessor(); in onBodySynthesis()