diff options
author | Peter Collingbourne <pcc@google.com> | 2017-11-01 18:27:06 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2018-11-14 12:40:23 -0800 |
commit | 334a5a386cbb17c09f480ca367c90ba8551a8bb8 (patch) | |
tree | 6fbc03022923cf277f6dd4dc13008bfd8cc73523 | |
parent | 695087b94f5cb73e071454f1ae7e4927ca9b49c4 (diff) | |
download | google-breakpad-334a5a386cbb17c09f480ca367c90ba8551a8bb8.tar.gz |
Rename an argument named "register" to "reg".android-wear-8.0.0_r2android-q-preview-6android-q-preview-5android-q-preview-4android-q-preview-2.5android-q-preview-1android-o-mr1-iot-release-smart-display-r9android-o-mr1-iot-release-smart-display-r8android-o-mr1-iot-release-smart-display-r5android-o-mr1-iot-release-smart-display-r40.1Jandroid-o-mr1-iot-release-smart-display-r4android-o-mr1-iot-release-smart-display-r39android-o-mr1-iot-release-smart-display-r30android-o-mr1-iot-release-smart-display-r22android-o-mr1-iot-release-smart-display-r14android-o-mr1-iot-release-smart-clock-r6android-o-mr1-iot-release-smart-clock-r2android-o-mr1-iot-release-smart-clock-fsiandroid-o-mr1-iot-release-smart-clock-fcsandroid-o-mr1-iot-release-cube_r2android-o-mr1-iot-release-cube-fsiandroid-o-mr1-iot-release-cube-fcsandroid-o-mr1-iot-release-1.0.8android-o-mr1-iot-release-1.0.7android-o-mr1-iot-release-1.0.12android-o-mr1-iot-release-1.0.10android-n-iot-release-ihome-igv1oreo-mr1-iot-releasenougat-iot-release
This silences a warning in newer versions of clang that complains
about "register" being a deprecated keyword.
Bug: chromium:780692
Reviewed-on: https://chromium-review.googlesource.com/750362
Reviewed-by: Mark Mentovai <mark@chromium.org>
(cherry picked from commit 2d85d492aeb9eeb889885e84b3666d64407f2920)
Bug: http://b/111067277
Test: builds
Exempt-From-Owner-Approval: janitorial
Change-Id: I01d310dc397433a472e272f30d65813138f02cd5
-rw-r--r-- | src/common/dwarf/dwarf2reader.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/common/dwarf/dwarf2reader.cc b/src/common/dwarf/dwarf2reader.cc index f2f3d581..a1e610dd 100644 --- a/src/common/dwarf/dwarf2reader.cc +++ b/src/common/dwarf/dwarf2reader.cc @@ -870,12 +870,12 @@ class CallFrameInfo::Rule { public: virtual ~Rule() { } - // Tell HANDLER that, at ADDRESS in the program, REGISTER can be - // recovered using this rule. If REGISTER is kCFARegister, then this rule - // describes how to compute the canonical frame address. Return what the - // HANDLER member function returned. + // Tell HANDLER that, at ADDRESS in the program, REG can be recovered using + // this rule. If REG is kCFARegister, then this rule describes how to compute + // the canonical frame address. Return what the HANDLER member function + // returned. virtual bool Handle(Handler *handler, - uint64 address, int register) const = 0; + uint64 address, int reg) const = 0; // Equality on rules. We use these to decide which rules we need // to report after a DW_CFA_restore_state instruction. |