[Option] Plug a leak when move-assigning an InputArgList.
authorBenjamin Kramer <benny.kra@googlemail.com>
Tue, 23 Jun 2015 15:28:10 +0000 (15:28 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Tue, 23 Jun 2015 15:28:10 +0000 (15:28 +0000)
commit896353d6638cf4c3eb6c00e29f0b9139ebbcd441
tree5095db514f7bc1fea09f50ae05c81a9a09334583
parent9492ec55bd7366001ff3d42f214ccba800c175da
[Option] Plug a leak when move-assigning an InputArgList.

The class has a non-trivial dtor so we have to clean up before we move
in new members. Remove misleading comment as a default move assignment
operator will never be synthesized for this class.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@240417 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Option/ArgList.h
lib/Option/ArgList.cpp