]> granicus.if.org Git - llvm/commitdiff
[PM] Fix a moderately scary typo in the deleted copy constructor
authorChandler Carruth <chandlerc@gmail.com>
Tue, 20 Jan 2015 10:20:52 +0000 (10:20 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Tue, 20 Jan 2015 10:20:52 +0000 (10:20 +0000)
I noticed when adding move semantics to LoopInfo.

Hopefully not relevant, but still scary. =]

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@226556 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Analysis/LoopInfo.h

index 0c2b0fe020a5f145a85c5062a1cce18122a38ee6..18e572a19048d4260bd89f587f99be2e0de20df6 100644 (file)
@@ -497,7 +497,7 @@ class LoopInfoBase {
   friend class LoopInfo;
 
   void operator=(const LoopInfoBase &) LLVM_DELETED_FUNCTION;
-  LoopInfoBase(const LoopInfo &) LLVM_DELETED_FUNCTION;
+  LoopInfoBase(const LoopInfoBase &) LLVM_DELETED_FUNCTION;
 public:
   LoopInfoBase() { }
   ~LoopInfoBase() { releaseMemory(); }