Skip to content

Commit 9bd0539

Browse files
committed
Merging r343369:
------------------------------------------------------------------------ r343369 | vitalybuka | 2018-09-28 19:17:12 -0700 (Fri, 28 Sep 2018) | 1 line [cxx2a] Fix warning triggered by r343285 ------------------------------------------------------------------------ llvm-svn: 348450
1 parent b1c89d2 commit 9bd0539

File tree

8 files changed

+6
-13
lines changed

8 files changed

+6
-13
lines changed

llvm/include/llvm/DebugInfo/PDB/Native/GlobalsStream.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,6 @@ class GSIHashIterator
3030
GSIHashIterator, FixedStreamArrayIterator<PSHashRecord>,
3131
std::random_access_iterator_tag, const uint32_t> {
3232
public:
33-
GSIHashIterator() = default;
34-
3533
template <typename T>
3634
GSIHashIterator(T &&v)
3735
: GSIHashIterator::iterator_adaptor_base(std::forward<T &&>(v)) {}

llvm/include/llvm/DebugInfo/PDB/Native/ModuleDebugStream.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ class ModuleDebugStreamRef {
4949
BinarySubstreamRef getC13LinesSubstream() const;
5050
BinarySubstreamRef getGlobalRefsSubstream() const;
5151

52-
ModuleDebugStreamRef &operator=(ModuleDebugStreamRef &&Other) = default;
52+
ModuleDebugStreamRef &operator=(ModuleDebugStreamRef &&Other) = delete;
5353

5454
iterator_range<DebugSubsectionIterator> subsections() const;
5555
codeview::DebugSubsectionArray getSubsectionsArray() const {

llvm/include/llvm/ExecutionEngine/Orc/Core.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ class MaterializationResponsibility {
126126
public:
127127
MaterializationResponsibility(MaterializationResponsibility &&) = default;
128128
MaterializationResponsibility &
129-
operator=(MaterializationResponsibility &&) = default;
129+
operator=(MaterializationResponsibility &&) = delete;
130130

131131
/// Destruct a MaterializationResponsibility instance. In debug mode
132132
/// this asserts that all symbols being tracked have been either

llvm/include/llvm/ExecutionEngine/Orc/OrcRemoteTargetClient.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,7 @@ class OrcRemoteTargetClient
7070
RemoteRTDyldMemoryManager &
7171
operator=(const RemoteRTDyldMemoryManager &) = delete;
7272
RemoteRTDyldMemoryManager(RemoteRTDyldMemoryManager &&) = default;
73-
RemoteRTDyldMemoryManager &
74-
operator=(RemoteRTDyldMemoryManager &&) = default;
73+
RemoteRTDyldMemoryManager &operator=(RemoteRTDyldMemoryManager &&) = delete;
7574

7675
uint8_t *allocateCodeSection(uintptr_t Size, unsigned Alignment,
7776
unsigned SectionID,

llvm/include/llvm/ProfileData/Coverage/CoverageMapping.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -641,8 +641,6 @@ class LineCoverageIterator
641641
this->operator++();
642642
}
643643

644-
LineCoverageIterator &operator=(const LineCoverageIterator &R) = default;
645-
646644
bool operator==(const LineCoverageIterator &R) const {
647645
return &CD == &R.CD && Next == R.Next && Ended == R.Ended;
648646
}

llvm/lib/Analysis/MemorySSA.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,6 @@ class MemoryLocOrCall {
119119
public:
120120
bool IsCall = false;
121121

122-
MemoryLocOrCall() = default;
123122
MemoryLocOrCall(MemoryUseOrDef *MUD)
124123
: MemoryLocOrCall(MUD->getMemoryInst()) {}
125124
MemoryLocOrCall(const MemoryUseOrDef *MUD)

llvm/lib/Target/AMDGPU/AMDGPULibFunc.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,6 @@ class UnmangledFuncInfo {
9090

9191
public:
9292
using ID = AMDGPULibFunc::EFuncId;
93-
UnmangledFuncInfo() = default;
9493
UnmangledFuncInfo(StringRef _Name, unsigned _NumArgs)
9594
: Name(_Name), NumArgs(_NumArgs) {}
9695
// Get index to Table by function name.

llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -231,17 +231,17 @@ struct TransformedFunction {
231231
TransformedFunction& operator=(TransformedFunction&&) = default;
232232

233233
/// Type of the function before the transformation.
234-
FunctionType* const OriginalType;
234+
FunctionType *OriginalType;
235235

236236
/// Type of the function after the transformation.
237-
FunctionType* const TransformedType;
237+
FunctionType *TransformedType;
238238

239239
/// Transforming a function may change the position of arguments. This
240240
/// member records the mapping from each argument's old position to its new
241241
/// position. Argument positions are zero-indexed. If the transformation
242242
/// from F to F' made the first argument of F into the third argument of F',
243243
/// then ArgumentIndexMapping[0] will equal 2.
244-
const std::vector<unsigned> ArgumentIndexMapping;
244+
std::vector<unsigned> ArgumentIndexMapping;
245245
};
246246

247247
/// Given function attributes from a call site for the original function,

0 commit comments

Comments
 (0)