Inferno
0.2
|
Property node for a specific floating point value. More...
#include <cpptree.hpp>
Public Member Functions | |
NODE_FUNCTIONS_FINAL | SpecificFloat () |
default constructor, for making architypes | |
SpecificFloat (llvm::APFloat v) | |
virtual bool | IsLocalMatch (const Matcher *candidate) const |
Construct with an LLVM-style float. | |
virtual | operator string () const |
Produce a string for debug. |
Property node for a specific floating point value.
We use LLVM's class for this, so that we can deal with any representation convention. The value must always be filled in. To determine the type, use llvm::getSemantics()
Definition at line 163 of file cpptree.hpp.
default constructor, for making architypes
Definition at line 166 of file cpptree.hpp.
CPPTree::SpecificFloat::SpecificFloat | ( | llvm::APFloat | v | ) | [inline] |
Definition at line 167 of file cpptree.hpp.
virtual bool CPPTree::SpecificFloat::IsLocalMatch | ( | const Matcher * | candidate | ) | const [inline, virtual] |
Construct with an LLVM-style float.
Overloaded comparison for search&replace
Reimplemented from Matcher.
Definition at line 168 of file cpptree.hpp.
References ASSERT.
virtual CPPTree::SpecificFloat::operator string | ( | ) | const [inline, virtual] |
Produce a string for debug.
Reimplemented from Traceable.
Definition at line 174 of file cpptree.hpp.
References TypeDb::float_semantics, and TypeDb::long_double_semantics.