Lines Matching refs:Instance
79 CompilerInstance Instance(CI.getPCHContainerOperations()); in onBodySynthesis() local
80 Instance.setInvocation(std::move(Invocation)); in onBodySynthesis()
81 Instance.createDiagnostics( in onBodySynthesis()
85 Instance.getDiagnostics().setSourceManager(&SM); in onBodySynthesis()
89 Instance.setFileManager(&CI.getFileManager()); in onBodySynthesis()
90 Instance.setSourceManager(&SM); in onBodySynthesis()
91 Instance.setPreprocessor(CI.getPreprocessorPtr()); in onBodySynthesis()
92 Instance.setASTContext(&CI.getASTContext()); in onBodySynthesis()
94 Instance.getPreprocessor().InitializeForModelFile(); in onBodySynthesis()
100 CRC.RunSafelyOnThread([&]() { Instance.ExecuteAction(parseModelFile); }, in onBodySynthesis()
103 Instance.getPreprocessor().FinalizeForModelFile(); in onBodySynthesis()
105 Instance.resetAndLeakSourceManager(); in onBodySynthesis()
106 Instance.resetAndLeakFileManager(); in onBodySynthesis()
107 Instance.resetAndLeakPreprocessor(); in onBodySynthesis()