MLIR  20.0.0git
Public Member Functions | Public Attributes | List of all members
mlir::detail::SourceMgrDiagnosticHandlerImpl Struct Reference

Public Member Functions

unsigned getSourceMgrBufferIDForFile (llvm::SourceMgr &mgr, StringRef filename)
 Return the SrcManager buffer id for the specified file, or zero if none can be found. More...
 

Public Attributes

llvm::StringMap< unsigned > filenameToBufId
 Mapping between file name and buffer ID's. More...
 

Detailed Description

Definition at line 363 of file Diagnostics.cpp.

Member Function Documentation

◆ getSourceMgrBufferIDForFile()

unsigned mlir::detail::SourceMgrDiagnosticHandlerImpl::getSourceMgrBufferIDForFile ( llvm::SourceMgr &  mgr,
StringRef  filename 
)
inline

Return the SrcManager buffer id for the specified file, or zero if none can be found.

Definition at line 366 of file Diagnostics.cpp.

Member Data Documentation

◆ filenameToBufId

llvm::StringMap<unsigned> mlir::detail::SourceMgrDiagnosticHandlerImpl::filenameToBufId

Mapping between file name and buffer ID's.

Definition at line 388 of file Diagnostics.cpp.


The documentation for this struct was generated from the following file: