Debian Codegraph @

visa/iga/IGALibrary/Backend/BitProcessor.cpp

raw
1 /*========================== begin_copyright_notice ============================
2
3 Copyright (C) 2017-2021 Intel Corporation
4
5 SPDX-License-Identifier: MIT
6
7 ============================= end_copyright_notice ===========================*/
8
9 #include "BitProcessor.hpp"
10 #include "../strings.hpp"
11
12 #include <stdarg.h>
13 #include <stdio.h>
14
15 using namespace iga;
16
17 void BitProcessor::warningAtS(const Loc &loc, std::string msg) {
18 m_errorHandler.reportWarning(loc, msg);
19 }
20 void BitProcessor::errorAtS(const Loc &loc, std::string msg) {
21 m_errorHandler.reportError(loc, msg);
22 }
23 void BitProcessor::fatalAtS(const Loc &loc, std::string msg) {
24 m_errorHandler.throwFatal(loc, msg);
25 }