r206345 - threadSafety::CopyOnWriteVector: Use LLVM_DELETED_FUNCTION here due to missing functionality of msc17.
NAKAMURA Takumi
geek4civic at gmail.com
Tue Apr 15 18:21:53 PDT 2014
Author: chapuni
Date: Tue Apr 15 20:21:53 2014
New Revision: 206345
URL: http://llvm.org/viewvc/llvm-project?rev=206345&view=rev
Log:
threadSafety::CopyOnWriteVector: Use LLVM_DELETED_FUNCTION here due to missing functionality of msc17.
Modified:
cfe/trunk/include/clang/Analysis/Analyses/ThreadSafetyUtil.h
Modified: cfe/trunk/include/clang/Analysis/Analyses/ThreadSafetyUtil.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Analysis/Analyses/ThreadSafetyUtil.h?rev=206345&r1=206344&r2=206345&view=diff
==============================================================================
--- cfe/trunk/include/clang/Analysis/Analyses/ThreadSafetyUtil.h (original)
+++ cfe/trunk/include/clang/Analysis/Analyses/ThreadSafetyUtil.h Tue Apr 15 20:21:53 2014
@@ -169,7 +169,7 @@ private:
public:
CopyOnWriteVector() : Data(0) { }
- CopyOnWriteVector(const CopyOnWriteVector &V) = delete;
+ CopyOnWriteVector(const CopyOnWriteVector &V) LLVM_DELETED_FUNCTION;
CopyOnWriteVector(CopyOnWriteVector &&V) : Data(V.Data) {
V.Data = 0;
}
@@ -217,7 +217,7 @@ public:
CopyOnWriteVector clone() { return CopyOnWriteVector(Data); }
// No copy constructor or copy assignment. Use clone() with move assignment.
- void operator=(const CopyOnWriteVector &V) = delete;
+ void operator=(const CopyOnWriteVector &V) LLVM_DELETED_FUNCTION;
void operator=(CopyOnWriteVector &&V) {
destroy();
More information about the cfe-commits
mailing list