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:
Mike Frysinger
2020-06-23 18:55:43 -04:00
parent a741027533
commit 09b056975d
289 changed files with 3770 additions and 3775 deletions

View File

@@ -67,8 +67,8 @@ class CPPLanguage: public Language {
public:
CPPLanguage() {}
string MakeQualifiedName(const string &parent_name,
const string &name) const {
string MakeQualifiedName(const string& parent_name,
const string& name) const {
return MakeQualifiedNameWithSeparator(parent_name, "::", name);
}
@@ -108,7 +108,7 @@ class CPPLanguage: public Language {
}
private:
static bool IsMangledName(const string &name) {
static bool IsMangledName(const string& name) {
// NOTE: For proper cross-compilation support, this should depend on target
// binary's platform, not current build platform.
#if defined(__APPLE__)
@@ -130,8 +130,8 @@ class JavaLanguage: public Language {
public:
JavaLanguage() {}
string MakeQualifiedName(const string &parent_name,
const string &name) const {
string MakeQualifiedName(const string& parent_name,
const string& name) const {
return MakeQualifiedNameWithSeparator(parent_name, ".", name);
}
};
@@ -143,8 +143,8 @@ class SwiftLanguage: public Language {
public:
SwiftLanguage() {}
string MakeQualifiedName(const string &parent_name,
const string &name) const {
string MakeQualifiedName(const string& parent_name,
const string& name) const {
return MakeQualifiedNameWithSeparator(parent_name, ".", name);
}
@@ -167,8 +167,8 @@ class RustLanguage: public Language {
public:
RustLanguage() {}
string MakeQualifiedName(const string &parent_name,
const string &name) const {
string MakeQualifiedName(const string& parent_name,
const string& name) const {
return MakeQualifiedNameWithSeparator(parent_name, ".", name);
}
@@ -202,8 +202,8 @@ class AssemblerLanguage: public Language {
AssemblerLanguage() {}
bool HasFunctions() const { return false; }
string MakeQualifiedName(const string &parent_name,
const string &name) const {
string MakeQualifiedName(const string& parent_name,
const string& name) const {
return name;
}
};