From 472541827ef5c2ed78aea202ff0862caeed91a52 Mon Sep 17 00:00:00 2001 From: Tyrel Russell Date: Wed, 26 May 2021 16:03:21 -0400 Subject: [PATCH] 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 --- src/common/dwarf/cfi_assembler.h | 3 +-- src/common/dwarf_cu_to_module_unittest.cc | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/common/dwarf/cfi_assembler.h b/src/common/dwarf/cfi_assembler.h index 3e8974de..6ee2557a 100644 --- a/src/common/dwarf/cfi_assembler.h +++ b/src/common/dwarf/cfi_assembler.h @@ -46,7 +46,6 @@ namespace google_breakpad { -using google_breakpad::test_assembler::Endianness; using google_breakpad::test_assembler::Label; 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 // Standards Base Core Specification, instead of the DWARF CFI // format. - CFISection(Endianness endianness, size_t address_size, + CFISection(google_breakpad::test_assembler::Endianness endianness, size_t address_size, bool eh_frame = false) : Section(endianness), address_size_(address_size), eh_frame_(eh_frame), pointer_encoding_(DW_EH_PE_absptr), diff --git a/src/common/dwarf_cu_to_module_unittest.cc b/src/common/dwarf_cu_to_module_unittest.cc index 97d868e4..2ce69d73 100644 --- a/src/common/dwarf_cu_to_module_unittest.cc +++ b/src/common/dwarf_cu_to_module_unittest.cc @@ -49,7 +49,6 @@ using google_breakpad::DwarfTag; using google_breakpad::DwarfAttribute; using google_breakpad::DwarfForm; using google_breakpad::DwarfInline; -using google_breakpad::RootDIEHandler; using google_breakpad::DwarfCUToModule; using google_breakpad::Module;