Lines Matching defs:sourceMgr
328 SourceMgr sourceMgr;
329 sourceMgr.AddNewSourceBuffer(std::move(file), SMLoc());
331 SourceMgrDiagnosticHandler sourceMgrHandler(sourceMgr, &ctx);
334 OwningOpRef<ModuleOp> module(parseSourceFile<ModuleOp>(sourceMgr, &ctx));
425 const std::shared_ptr<llvm::SourceMgr> &sourceMgr,
450 sourceMgr, parseConfig, !config.shouldUseExplicitModule());
513 // Tell sourceMgr about this buffer, which is what the parser will pick up.
514 auto sourceMgr = std::make_shared<SourceMgr>();
515 sourceMgr->AddNewSourceBuffer(std::move(ownedBuffer), SMLoc());
538 SourceMgrDiagnosticHandler sourceMgrHandler(*sourceMgr, &context);
542 return performActions(os, sourceMgr, &context, config);
545 SourceMgrDiagnosticVerifierHandler sourceMgrHandler(*sourceMgr, &context);
550 (void)performActions(os, sourceMgr, &context, config);