Sorry for suggesting a massive change. I can do it myself if you don't have ...
16 years, 6 months ago
(2009-12-15 19:41:03 UTC)
#2
Sorry for suggesting a massive change. I can do it myself if you don't have
time. Thanks!
http://codereview.appspot.com/180041/diff/18/24
File include/gtest/gtest-test-part.h (right):
http://codereview.appspot.com/180041/diff/18/24#newcode59
include/gtest/gtest-test-part.h:59: TestPartResult(Type outcome_type,
The convention I like is to call this a_type (and a_file_name, a_line_number,
etc for others). Then it's easy to match up the parameter with the field. And
you don't have to think hard for good names when new parameters are added.
Ok, changed to an "a_" prefix. Do you want me to use "an_" in appropriate ...
16 years, 6 months ago
(2009-12-16 18:13:35 UTC)
#3
Ok, changed to an "a_" prefix.
Do you want me to use "an_" in appropriate places? (I did)
Do you want me to change _all_ parameters in a method/function signature to use
"a_"? (I didn't)
On Wed, Dec 16, 2009 at 10:13 AM, <preston.a.jackson@gmail.com> wrote: > Ok, changed to an ...
16 years, 6 months ago
(2009-12-16 18:15:55 UTC)
#4
On Wed, Dec 16, 2009 at 10:13 AM, <preston.a.jackson@gmail.com> wrote:
> Ok, changed to an "a_" prefix.
Great. Thanks for doing the grungy work!
> Do you want me to use "an_" in appropriate places? (I did)
Yes, this is greawt.
> Do you want me to change _all_ parameters in a method/function signature
> to use "a_"? (I didn't)
No need for that. We just need to fix where the warnings are.
> http://codereview.appspot.com/180041
>
--
Zhanyong
I've looked through the entire change. Everything's great! Thanks for the hard work. I'll get ...
16 years, 6 months ago
(2009-12-16 18:21:23 UTC)
#5
I've looked through the entire change. Everything's great! Thanks
for the hard work. I'll get this tested and checked in soon.
2009/12/16 Zhanyong Wan (λx.x x) <wan@google.com>:
> On Wed, Dec 16, 2009 at 10:13 AM, <preston.a.jackson@gmail.com> wrote:
>> Ok, changed to an "a_" prefix.
>
> Great. Thanks for doing the grungy work!
>
>> Do you want me to use "an_" in appropriate places? (I did)
>
> Yes, this is greawt.
>
>> Do you want me to change _all_ parameters in a method/function signature
>> to use "a_"? (I didn't)
>
> No need for that. We just need to fix where the warnings are.
>
>> http://codereview.appspot.com/180041
>>
>
>
>
> --
> Zhanyong
>
--
Zhanyong
Issue 180041: "Enabling -Wshadow option"
Created 16 years, 6 months ago by Preston Jackson
Modified 11 years, 8 months ago
Reviewers: Zhanyong Wan, Vlad, wan
Base URL: http://googletest.googlecode.com/svn/trunk/
Comments: 1