[llvm] r211199 - ProfileData: Fix copy-paste type in RawInstrProfReader

Justin Bogner mail at justinbogner.com
Wed Jun 18 11:20:44 PDT 2014


Author: bogner
Date: Wed Jun 18 13:20:44 2014
New Revision: 211199

URL: http://llvm.org/viewvc/llvm-project?rev=211199&view=rev
Log:
ProfileData: Fix copy-paste type in RawInstrProfReader

These deleted definitions had the wrong types.

Patch by Alex L!

Modified:
    llvm/trunk/include/llvm/ProfileData/InstrProfReader.h

Modified: llvm/trunk/include/llvm/ProfileData/InstrProfReader.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ProfileData/InstrProfReader.h?rev=211199&r1=211198&r2=211199&view=diff
==============================================================================
--- llvm/trunk/include/llvm/ProfileData/InstrProfReader.h (original)
+++ llvm/trunk/include/llvm/ProfileData/InstrProfReader.h Wed Jun 18 13:20:44 2014
@@ -168,8 +168,8 @@ private:
   const char *NamesStart;
   const char *ProfileEnd;
 
-  RawInstrProfReader(const TextInstrProfReader &) LLVM_DELETED_FUNCTION;
-  RawInstrProfReader &operator=(const TextInstrProfReader &)
+  RawInstrProfReader(const RawInstrProfReader &) LLVM_DELETED_FUNCTION;
+  RawInstrProfReader &operator=(const RawInstrProfReader &)
     LLVM_DELETED_FUNCTION;
 public:
   RawInstrProfReader(std::unique_ptr<MemoryBuffer> DataBuffer)





More information about the llvm-commits mailing list