| 55 | } |
| 56 | |
| 57 | std::string Location::Message() const { |
| 58 | std::ostringstream out; |
| 59 | if (debug_region && !debug_region->empty()) { |
| 60 | out << "[ Debug region: " << *debug_region << " ] "; |
| 61 | } |
| 62 | out << StringFunc() << "(): "; |
| 63 | AppendFields(out); |
| 64 | std::string message = out.str(); |
| 65 | // Remove space in the end when no fields are added |
| 66 | if (message.back() == ' ') { |
| 67 | message.pop_back(); |
| 68 | } |
| 69 | return message; |
| 70 | } |
| 71 | |
| 72 | std::string PrintPNextChain(vvl::Struct in_struct, const void* in_pNext) { |
| 73 | std::ostringstream out; |
no test coverage detected