1 #ifndef INCLUDED_CLANGMETATOOL_PROPAGATION_PROPAGATION_RESULT_H 2 #define INCLUDED_CLANGMETATOOL_PROPAGATION_PROPAGATION_RESULT_H 7 namespace propagation {
30 : unresolved(false), result(result) {}
43 const ResultType &
getResult()
const {
return result; }
50 void print(std::ostream &stream)
const {
52 stream <<
"<UNRESOLVED>";
58 bool operator<(const PropagationResult<ResultType> &rhs)
const {
59 return result < rhs.result;
62 if (unresolved && rhs.unresolved) {
64 }
else if (unresolved == rhs.unresolved) {
65 return result == rhs.result;
71 return !(*
this == rhs);
std::ostream & operator<<(std::ostream &stream, const clangmetatool::propagation::PropagationResult< T > &result)