[FileSpecList] Add EmplaceBack method (NFC)
authorJonas Devlieghere <jonas@devlieghere.com>
Thu, 18 Jul 2019 20:19:24 +0000 (20:19 +0000)
committerJonas Devlieghere <jonas@devlieghere.com>
Thu, 18 Jul 2019 20:19:24 +0000 (20:19 +0000)
commitf893d5bf0f313b718f6209d666e5a6e32eed961e
treee6d63f68f9f1fcb6fb5a2f5cb57fad9e9d9e0472
parentbe7a7ae0c3da18138fa5f117765c56b5ee8df3c4
[FileSpecList] Add EmplaceBack method (NFC)

Instead of having to write FileSpecList::Append(FileSpec(args)) you can
now call FileSpecList::EmplaceBack(args), similar to
std::vector<>::emplace_back.

llvm-svn: 366489
lldb/include/lldb/Core/FileSpecList.h
lldb/source/Core/SearchFilter.cpp
lldb/source/Plugins/LanguageRuntime/CPlusPlus/ItaniumABI/ItaniumABILanguageRuntime.cpp
lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp
lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp
lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp