Fix Clang Tidy error and fix ambiguous use of Endianess

Bug: b/189249305
Change-Id: I2b2e891dae5d632d965869c916c386cf3cd3c678
Reviewed-on: https://chromium-review.googlesource.com/c/breakpad/breakpad/+/2920513
Reviewed-by: Joshua Peraza <jperaza@chromium.org>
This commit is contained in:
Tyrel Russell 2021-05-26 16:03:21 -04:00 committed by Joshua Peraza
parent a83110d6ba
commit 472541827e
2 changed files with 1 additions and 3 deletions

View File

@ -46,7 +46,6 @@
namespace google_breakpad { namespace google_breakpad {
using google_breakpad::test_assembler::Endianness;
using google_breakpad::test_assembler::Label; using google_breakpad::test_assembler::Label;
using google_breakpad::test_assembler::Section; using google_breakpad::test_assembler::Section;
@ -94,7 +93,7 @@ class CFISection: public Section {
// true, use the .eh_frame format, as described by the Linux // true, use the .eh_frame format, as described by the Linux
// Standards Base Core Specification, instead of the DWARF CFI // Standards Base Core Specification, instead of the DWARF CFI
// format. // format.
CFISection(Endianness endianness, size_t address_size, CFISection(google_breakpad::test_assembler::Endianness endianness, size_t address_size,
bool eh_frame = false) bool eh_frame = false)
: Section(endianness), address_size_(address_size), eh_frame_(eh_frame), : Section(endianness), address_size_(address_size), eh_frame_(eh_frame),
pointer_encoding_(DW_EH_PE_absptr), pointer_encoding_(DW_EH_PE_absptr),

View File

@ -49,7 +49,6 @@ using google_breakpad::DwarfTag;
using google_breakpad::DwarfAttribute; using google_breakpad::DwarfAttribute;
using google_breakpad::DwarfForm; using google_breakpad::DwarfForm;
using google_breakpad::DwarfInline; using google_breakpad::DwarfInline;
using google_breakpad::RootDIEHandler;
using google_breakpad::DwarfCUToModule; using google_breakpad::DwarfCUToModule;
using google_breakpad::Module; using google_breakpad::Module;