MCPcopy Create free account
hub / github.com/KhronosGroup/Vulkan-ValidationLayers / Message

Method Message

layers/error_message/error_location.cpp:57–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55}
56
57std::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
72std::string PrintPNextChain(vvl::Struct in_struct, const void* in_pNext) {
73 std::ostringstream out;

Callers 3

CreateMessageTextMethod · 0.80
ValidateCmdWaitEventsMethod · 0.80

Calls 3

emptyMethod · 0.45
backMethod · 0.45
pop_backMethod · 0.45

Tested by

no test coverage detected