mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-24 22:24:54 +00:00
InstrProf: Remove a function that just returns its argument (NFC)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@236664 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -80,12 +80,6 @@ class RawCoverageReader {
|
||||
protected:
|
||||
StringRef Data;
|
||||
|
||||
/// \brief Return the error code.
|
||||
std::error_code error(std::error_code EC) { return EC; }
|
||||
|
||||
/// \brief Clear the current error code and return a successful one.
|
||||
std::error_code success() { return error(instrprof_error::success); }
|
||||
|
||||
RawCoverageReader(StringRef Data) : Data(Data) {}
|
||||
|
||||
std::error_code readULEB128(uint64_t &Result);
|
||||
|
Reference in New Issue
Block a user