mirror of
https://git.suyu.dev/suyu/breakpad.git
synced 2026-01-08 07:28:13 +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
|
|
@ -47,7 +47,7 @@ StaticContainedRangeMap<AddressType, EntryType>::StaticContainedRangeMap(
|
|||
const char *base)
|
||||
: base_(*(reinterpret_cast<const AddressType*>(base))),
|
||||
entry_size_(*(reinterpret_cast<const uint32_t*>(base + sizeof(base_)))),
|
||||
entry_ptr_(reinterpret_cast<const EntryType *>(
|
||||
entry_ptr_(reinterpret_cast<const EntryType*>(
|
||||
base + sizeof(base_) + sizeof(entry_size_))),
|
||||
map_(base + sizeof(base_) + sizeof(entry_size_) + entry_size_) {
|
||||
if (entry_size_ == 0)
|
||||
|
|
@ -57,7 +57,7 @@ StaticContainedRangeMap<AddressType, EntryType>::StaticContainedRangeMap(
|
|||
|
||||
template<typename AddressType, typename EntryType>
|
||||
bool StaticContainedRangeMap<AddressType, EntryType>::RetrieveRange(
|
||||
const AddressType &address, const EntryType *&entry) const {
|
||||
const AddressType& address, const EntryType*& entry) const {
|
||||
|
||||
// Get an iterator to the child range whose high address is equal to or
|
||||
// greater than the supplied address. If the supplied address is higher
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue