20 #include "llvm/StringRef.h"
37 void Clone(
const Error& error);
39 std::string GetMessage()
const;
40 std::string GetFilename()
const;
41 std::string GetFunction()
const;
42 uint32_t GetLineNumber()
const;
43 const ErrorBase* GetOriginatingObject()
const;
44 double GetTimestamp()
const;
48 uint32_t lineNumber,
const ErrorBase* originatingObject);
54 std::string m_message;
55 std::string m_filename;
56 std::string m_function;
57 uint32_t m_lineNumber = 0;
58 const ErrorBase* m_originatingObject =
nullptr;
59 double m_timestamp = 0.0;
Error object represents a library error.
Definition: Error.h:28
Base class for most objects.
Definition: ErrorBase.h:66
StringRef - Represent a constant reference to a string, i.e.
Definition: StringRef.h:39