[llvm] r226556 - [PM] Fix a moderately scary typo in the deleted copy constructor
Chandler Carruth
chandlerc at gmail.com
Tue Jan 20 02:20:52 PST 2015
Author: chandlerc
Date: Tue Jan 20 04:20:52 2015
New Revision: 226556
URL: http://llvm.org/viewvc/llvm-project?rev=226556&view=rev
Log:
[PM] Fix a moderately scary typo in the deleted copy constructor
I noticed when adding move semantics to LoopInfo.
Hopefully not relevant, but still scary. =]
Modified:
llvm/trunk/include/llvm/Analysis/LoopInfo.h
Modified: llvm/trunk/include/llvm/Analysis/LoopInfo.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Analysis/LoopInfo.h?rev=226556&r1=226555&r2=226556&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Analysis/LoopInfo.h (original)
+++ llvm/trunk/include/llvm/Analysis/LoopInfo.h Tue Jan 20 04:20:52 2015
@@ -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(); }
More information about the llvm-commits
mailing list