summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2014-03-21 20:59:19 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2014-03-21 20:59:19 +0000
commit50f9696f1d8fac2ec4e99a12e4ba65276c8364c5 (patch)
tree6190bc74d972151f9f9d84faa4842f2e44f4ea49 /lib
parent813d0a276112d79ba13a2cab9f785d1f18e6193d (diff)
downloadllvm-50f9696f1d8fac2ec4e99a12e4ba65276c8364c5.tar.gz
llvm-50f9696f1d8fac2ec4e99a12e4ba65276c8364c5.tar.bz2
llvm-50f9696f1d8fac2ec4e99a12e4ba65276c8364c5.tar.xz
InstrProf: Move constructor to the header
Fixes 80-column violation at the same time. <rdar://problem/15950346> git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@204516 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/ProfileData/InstrProfReader.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/ProfileData/InstrProfReader.cpp b/lib/ProfileData/InstrProfReader.cpp
index f923ad2ddd..48e740eaf4 100644
--- a/lib/ProfileData/InstrProfReader.cpp
+++ b/lib/ProfileData/InstrProfReader.cpp
@@ -85,9 +85,6 @@ error_code TextInstrProfReader::readNextRecord(InstrProfRecord &Record) {
return success();
}
-RawInstrProfReader::RawInstrProfReader(std::unique_ptr<MemoryBuffer> DataBuffer)
- : DataBuffer(std::move(DataBuffer)) { }
-
static uint64_t getRawMagic() {
return
uint64_t(255) << 56 |