diff --git a/clang/lib/AST/ASTImporter.cpp b/clang/lib/AST/ASTImporter.cpp --- a/clang/lib/AST/ASTImporter.cpp +++ b/clang/lib/AST/ASTImporter.cpp @@ -8409,8 +8409,8 @@ // and destructed after it is created. The construction already performs the // import of the data. template struct AttrArgImporter { - AttrArgImporter(const AttrArgImporter &) = delete; - AttrArgImporter(AttrArgImporter &&) = default; + AttrArgImporter(const AttrArgImporter &) = delete; + AttrArgImporter(AttrArgImporter &&) = default; AttrArgImporter &operator=(const AttrArgImporter &) = delete; AttrArgImporter &operator=(AttrArgImporter &&) = default; @@ -8429,8 +8429,8 @@ // is used by the attribute classes. This object should be created once for the // array data to be imported (the array size is not imported, just copied). template struct AttrArgArrayImporter { - AttrArgArrayImporter(const AttrArgArrayImporter &) = delete; - AttrArgArrayImporter(AttrArgArrayImporter &&) = default; + AttrArgArrayImporter(const AttrArgArrayImporter &) = delete; + AttrArgArrayImporter(AttrArgArrayImporter &&) = default; AttrArgArrayImporter &operator=(const AttrArgArrayImporter &) = delete; AttrArgArrayImporter &operator=(AttrArgArrayImporter &&) = default; diff --git a/llvm/include/llvm/CodeGen/LiveInterval.h b/llvm/include/llvm/CodeGen/LiveInterval.h --- a/llvm/include/llvm/CodeGen/LiveInterval.h +++ b/llvm/include/llvm/CodeGen/LiveInterval.h @@ -724,7 +724,7 @@ T *P; public: - SingleLinkedListIterator(T *P) : P(P) {} + SingleLinkedListIterator(T *P) : P(P) {} SingleLinkedListIterator &operator++() { P = P->Next; diff --git a/llvm/include/llvm/Support/BinaryStreamArray.h b/llvm/include/llvm/Support/BinaryStreamArray.h --- a/llvm/include/llvm/Support/BinaryStreamArray.h +++ b/llvm/include/llvm/Support/BinaryStreamArray.h @@ -323,7 +323,7 @@ FixedStreamArrayIterator(const FixedStreamArray &Array, uint32_t Index) : Array(Array), Index(Index) {} - FixedStreamArrayIterator(const FixedStreamArrayIterator &Other) + FixedStreamArrayIterator(const FixedStreamArrayIterator &Other) : Array(Other.Array), Index(Other.Index) {} FixedStreamArrayIterator & operator=(const FixedStreamArrayIterator &Other) { diff --git a/llvm/lib/Passes/StandardInstrumentations.cpp b/llvm/lib/Passes/StandardInstrumentations.cpp --- a/llvm/lib/Passes/StandardInstrumentations.cpp +++ b/llvm/lib/Passes/StandardInstrumentations.cpp @@ -441,7 +441,7 @@ } // namespace -template ChangeReporter::~ChangeReporter() { +template ChangeReporter::~ChangeReporter() { assert(BeforeStack.empty() && "Problem with Change Printer stack."); }