"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/Rose/BinaryAnalysis/InstructionSemantics2/BaseSemanticsException.h" between
rose-0.11.35.0.tar.gz and rose-0.11.36.0.tar.gz

About: ROSE is a compiler infrastructure to build source-to-source program transformation and analysis tools for large-scale C (C89 and C98), C++ (C++98 and C++11), UPC, Fortran (77/95/2003), OpenMP, Java, Python and PHP applications.

BaseSemanticsException.h  (rose-0.11.35.0):BaseSemanticsException.h  (rose-0.11.36.0)
#ifndef ROSE_BinaryAnalysis_InstructionSemantics2_BaseSemantics_Exception_H #ifndef ROSE_Deprecated_BinaryAnalysis_InstructionSemantics2_BaseSemantics_Excep
#define ROSE_BinaryAnalysis_InstructionSemantics2_BaseSemantics_Exception_H tion_H
#include <featureTests.h> #define ROSE_Deprecated_BinaryAnalysis_InstructionSemantics2_BaseSemantics_Excep
#ifdef ROSE_ENABLE_BINARY_ANALYSIS tion_H
#include <Rose/BinaryAnalysis/InstructionSemantics2/BaseSemanticsTypes.h> // [Robb Matzke 2021-05-19]: deprecated
#include <Rose/Exception.h> #include <rose_pragma_message.h>
ROSE_PRAGMA_MESSAGE("This header is deprecated; use Rose/BinaryAnalysis/Instruct
ionSemantics2/BaseSemantics/Exception.h instead");
#include <Rose/BinaryAnalysis/InstructionSemantics2/BaseSemantics/Exception.h>
namespace Rose {
namespace BinaryAnalysis {
namespace InstructionSemantics2 {
namespace BaseSemantics {
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////
// Exceptions
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////
/** Base class for exceptions thrown by instruction semantics. */
class Exception: public Rose::Exception {
public:
SgAsmInstruction *insn;
Exception(const std::string &mesg, SgAsmInstruction *insn): Rose::Exception(
mesg), insn(insn) {}
void print(std::ostream&) const;
};
class NotImplemented: public Exception {
public:
NotImplemented(const std::string &mesg, SgAsmInstruction *insn)
: Exception(mesg, insn) {}
};
std::ostream& operator<<(std::ostream&, const Exception&);
} // namespace
} // namespace
} // namespace
} // namespace
#endif
#endif #endif
 End of changes. 3 change blocks. 
40 lines changed or deleted 9 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)