mirror of
https://github.com/yuzu-emu/breakpad.git
synced 2025-02-02 05:21:06 +00:00
Rename an argument named "register" to "reg".
This silences a warning in newer versions of clang that complains about "register" being a deprecated keyword. Bug: chromium:780692 Change-Id: If354b9b18421e3e910849b385c44207e0ce02590 Reviewed-on: https://chromium-review.googlesource.com/750362 Reviewed-by: Mark Mentovai <mark@chromium.org>
This commit is contained in:
parent
7e3c165000
commit
2d85d492ae
|
@ -1265,12 +1265,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.
|
||||
|
|
Loading…
Reference in a new issue