Lines Matching refs:Instance
79 CompilerInstance Instance(CI.getPCHContainerOperations()); in onBodySynthesis() local
80 Instance.setInvocation(&*Invocation); in onBodySynthesis()
81 Instance.createDiagnostics( in onBodySynthesis()
85 Instance.getDiagnostics().setSourceManager(&SM); in onBodySynthesis()
87 Instance.setVirtualFileSystem(&CI.getVirtualFileSystem()); in onBodySynthesis()
91 Instance.setFileManager(&CI.getFileManager()); in onBodySynthesis()
92 Instance.setSourceManager(&SM); in onBodySynthesis()
93 Instance.setPreprocessor(&CI.getPreprocessor()); in onBodySynthesis()
94 Instance.setASTContext(&CI.getASTContext()); in onBodySynthesis()
96 Instance.getPreprocessor().InitializeForModelFile(); in onBodySynthesis()
103 CRC.RunSafelyOnThread([&]() { Instance.ExecuteAction(parseModelFile); }, in onBodySynthesis()
106 Instance.getPreprocessor().FinalizeForModelFile(); in onBodySynthesis()
108 Instance.resetAndLeakSourceManager(); in onBodySynthesis()
109 Instance.resetAndLeakFileManager(); in onBodySynthesis()
110 Instance.resetAndLeakPreprocessor(); in onBodySynthesis()