mirror of
https://git.suyu.dev/suyu/breakpad.git
synced 2026-03-11 00:36:29 +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:
@@ -95,7 +95,7 @@ class TestStaticAddressMap : public ::testing::Test {
|
||||
int address_test;
|
||||
string entry;
|
||||
string entry_test;
|
||||
const char *entry_cstring = NULL;
|
||||
const char* entry_cstring = NULL;
|
||||
bool found;
|
||||
bool found_test;
|
||||
|
||||
@@ -143,11 +143,11 @@ class TestStaticAddressMap : public ::testing::Test {
|
||||
// Test data sets:
|
||||
static const int kNumberTestCases = 4;
|
||||
static const int testsize[];
|
||||
int *testdata[kNumberTestCases];
|
||||
int* testdata[kNumberTestCases];
|
||||
|
||||
AddrMap addr_map[kNumberTestCases];
|
||||
TestMap test_map[kNumberTestCases];
|
||||
char *map_data[kNumberTestCases];
|
||||
char* map_data[kNumberTestCases];
|
||||
google_breakpad::AddressMapSerializer<int, string> serializer;
|
||||
};
|
||||
|
||||
@@ -229,7 +229,7 @@ TEST_F(TestStaticAddressMap, Test1000RandomElementsMap) {
|
||||
}
|
||||
}
|
||||
|
||||
int main(int argc, char *argv[]) {
|
||||
int main(int argc, char* argv[]) {
|
||||
::testing::InitGoogleTest(&argc, argv);
|
||||
|
||||
return RUN_ALL_TESTS();
|
||||
|
||||
Reference in New Issue
Block a user