Work around a GCC 4.7-specific issue: due to implementing older rules for
authorRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 13 Sep 2016 18:35:34 +0000 (18:35 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 13 Sep 2016 18:35:34 +0000 (18:35 +0000)
commitffa0241a03f917405634a744793a48877dfc22de
tree3e4295cdabb5b339c15a71d924dbaefe179cbd5c
parent4a8eba3e96d9b5b4366002acd717912800d9c11b
Work around a GCC 4.7-specific issue: due to implementing older rules for
implicit declarations of move operations, GCC 4.7 would find that SelectPiece
has neither a move constructor nor a copy constructor. The copy constructor was
(correctly) deleted because the class has a member of move-only type, and the
move constructor was (incorrectly, per current C++ rules) not provided because
the class has a copy-only base class (in turn because it explicitly declares a
destructor).

llvm-svn: 281363
clang/utils/TableGen/ClangDiagnosticsEmitter.cpp