\name Helper functions to print error log when loading AST nodes @{
| 257 | /// \name Helper functions to print error log when loading AST nodes |
| 258 | /// @{ |
| 259 | inline Unexpected<ErrCode> logLoadError(ErrCode Code, uint64_t Off, |
| 260 | ASTNodeAttr Node) const noexcept { |
| 261 | spdlog::error(Code); |
| 262 | spdlog::error(ErrInfo::InfoLoading(Off)); |
| 263 | spdlog::error(ErrInfo::InfoAST(Node)); |
| 264 | return Unexpect(Code); |
| 265 | } |
| 266 | inline Unexpected<ErrCode> logNeedProposal(ErrCode Code, Proposal Prop, |
| 267 | uint64_t Off, |
| 268 | ASTNodeAttr Node) const noexcept { |
nothing calls this directly
no test coverage detected