llvm-project/lldb/source/Core
Pavel Labath 06453b0619 Fix a "memset clearing an object of non-trivial type" warning in EmulateInstruction
This is a new warning which started appearing as of gcc-8. The Opcode
class has a non-trivial constructor, so the idea of the warning is that
code should use that to initialize the object instead of using memset
(which can perturb class invariants set up by the constructor). In this
case, the Opcode default constructor was already clearing the object's
fields so we can just drop the memset call.

While I'm touching the EmulateInstruction constructor, I also move the
initialization of other members into the class declaration.

llvm-svn: 356459
2019-03-19 15:05:55 +00:00
..
Address.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
AddressRange.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
AddressResolver.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
AddressResolverFileLine.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
AddressResolverName.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
CMakeLists.txt Move Broadcaster+Listener+Event combo from Core into Utility 2018-12-14 15:59:49 +00:00
Communication.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Debugger.cpp Pass ConstString by value (NFC) 2019-03-06 21:22:25 +00:00
Disassembler.cpp Pass ConstString by value (NFC) 2019-03-06 21:22:25 +00:00
DumpDataExtractor.cpp Replace 'ap' with 'up' suffix in variable names. (NFC) 2019-02-13 06:25:41 +00:00
DumpRegisterValue.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
DynamicLoader.cpp Replace 'ap' with 'up' suffix in variable names. (NFC) 2019-02-13 06:25:41 +00:00
EmulateInstruction.cpp Fix a "memset clearing an object of non-trivial type" warning in EmulateInstruction 2019-03-19 15:05:55 +00:00
FileLineResolver.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
FileSpecList.cpp SymbolFileBreakpad: Add line table support 2019-02-07 13:42:32 +00:00
FormatEntity.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Highlighter.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
IOHandler.cpp Quiet command regex instructions during batch execution 2019-03-10 23:15:48 +00:00
Mangled.cpp Pass ConstString by value (NFC) 2019-03-06 21:22:25 +00:00
Module.cpp Reinitialize UnwindTable when the SymbolFile changes 2019-03-18 10:45:02 +00:00
ModuleChild.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ModuleList.cpp Pass ConstString by value (NFC) 2019-03-06 21:22:25 +00:00
Opcode.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
PluginManager.cpp Pass ConstString by value (NFC) 2019-03-06 21:22:25 +00:00
RichManglingContext.cpp Pass ConstString by value (NFC) 2019-03-06 21:22:25 +00:00
SearchFilter.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Section.cpp Pass ConstString by value (NFC) 2019-03-06 21:22:25 +00:00
SourceManager.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
StreamAsynchronousIO.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
StreamFile.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
UserSettingsController.cpp Pass ConstString by value (NFC) 2019-03-06 21:22:25 +00:00
Value.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ValueObject.cpp Pass ConstString by value (NFC) 2019-03-06 21:22:25 +00:00
ValueObjectCast.cpp Pass ConstString by value (NFC) 2019-03-06 21:22:25 +00:00
ValueObjectChild.cpp Pass ConstString by value (NFC) 2019-03-06 21:22:25 +00:00
ValueObjectConstResult.cpp Pass ConstString by value (NFC) 2019-03-06 21:22:25 +00:00
ValueObjectConstResultCast.cpp Pass ConstString by value (NFC) 2019-03-06 21:22:25 +00:00
ValueObjectConstResultChild.cpp Pass ConstString by value (NFC) 2019-03-06 21:22:25 +00:00
ValueObjectConstResultImpl.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ValueObjectDynamicValue.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ValueObjectList.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ValueObjectMemory.cpp Make Type::GetByteSize optional (NFC) 2019-01-29 17:52:34 +00:00
ValueObjectRegister.cpp Pass ConstString by value (NFC) 2019-03-06 21:22:25 +00:00
ValueObjectSyntheticFilter.cpp Pass ConstString by value (NFC) 2019-03-06 21:22:25 +00:00
ValueObjectVariable.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00