mirror of
https://git.suyu.dev/suyu/breakpad.git
synced 2026-03-06 04:22:58 +00: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:
@@ -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;
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user