mirror of
https://git.suyu.dev/suyu/breakpad.git
synced 2025-12-26 17:25:04 +01:00
fix pointer style to match the style guide
We do this in a lot of places, but we're inconsistent. Normalize the code to the Google C++ style guide. Change-Id: Ic2aceab661ce8f6b993dda21b1cdf5d2198dcbbf Reviewed-on: https://chromium-review.googlesource.com/c/breakpad/breakpad/+/2262932 Reviewed-by: Sterling Augustine <saugustine@google.com> Reviewed-by: Mark Mentovai <mark@chromium.org>
This commit is contained in:
parent
a741027533
commit
09b056975d
289 changed files with 3770 additions and 3775 deletions
|
|
@ -78,7 +78,7 @@ StackFrame* StackwalkerARM::GetContextFrame() {
|
|||
}
|
||||
|
||||
StackFrameARM* StackwalkerARM::GetCallerByCFIFrameInfo(
|
||||
const vector<StackFrame*> &frames,
|
||||
const vector<StackFrame*>& frames,
|
||||
CFIFrameInfo* cfi_frame_info) {
|
||||
StackFrameARM* last_frame = static_cast<StackFrameARM*>(frames.back());
|
||||
|
||||
|
|
@ -162,7 +162,7 @@ StackFrameARM* StackwalkerARM::GetCallerByCFIFrameInfo(
|
|||
}
|
||||
|
||||
StackFrameARM* StackwalkerARM::GetCallerByStackScan(
|
||||
const vector<StackFrame*> &frames) {
|
||||
const vector<StackFrame*>& frames) {
|
||||
StackFrameARM* last_frame = static_cast<StackFrameARM*>(frames.back());
|
||||
uint32_t last_sp = last_frame->context.iregs[MD_CONTEXT_ARM_REG_SP];
|
||||
uint32_t caller_sp, caller_pc;
|
||||
|
|
@ -193,7 +193,7 @@ StackFrameARM* StackwalkerARM::GetCallerByStackScan(
|
|||
}
|
||||
|
||||
StackFrameARM* StackwalkerARM::GetCallerByFramePointer(
|
||||
const vector<StackFrame*> &frames) {
|
||||
const vector<StackFrame*>& frames) {
|
||||
StackFrameARM* last_frame = static_cast<StackFrameARM*>(frames.back());
|
||||
|
||||
if (!(last_frame->context_validity &
|
||||
|
|
@ -245,7 +245,7 @@ StackFrame* StackwalkerARM::GetCallerFrame(const CallStack* stack,
|
|||
return NULL;
|
||||
}
|
||||
|
||||
const vector<StackFrame*> &frames = *stack->frames();
|
||||
const vector<StackFrame*>& frames = *stack->frames();
|
||||
StackFrameARM* last_frame = static_cast<StackFrameARM*>(frames.back());
|
||||
scoped_ptr<StackFrameARM> frame;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue