| Index: tools/clang/rewrite_to_chrome_style/tests/functions-expected.cc
|
| diff --git a/tools/clang/rewrite_to_chrome_style/tests/functions-expected.cc b/tools/clang/rewrite_to_chrome_style/tests/functions-expected.cc
|
| index 304e3ef50b9d2456c2d1b884cabe005f83069471..60dd0447eedf92d2ba92154d755aa5824165d07f 100644
|
| --- a/tools/clang/rewrite_to_chrome_style/tests/functions-expected.cc
|
| +++ b/tools/clang/rewrite_to_chrome_style/tests/functions-expected.cc
|
| @@ -4,6 +4,18 @@
|
|
|
| namespace blink {
|
|
|
| +namespace {
|
| +
|
| +// Naive renaming will break the build, by leaving return type the same name as
|
| +// the function name - to avoid this "Get" prefix needs to be prepended as
|
| +// suggested in https://crbug.com/582312#c17.
|
| +class Foo582312 {};
|
| +using Bar = Foo582312;
|
| +static Bar* GetBar() {
|
| + return nullptr;
|
| +}
|
| +}
|
| +
|
| // Tests that the prototype for a function is updated.
|
| int TestFunctionThatTakesTwoInts(int x, int y);
|
| // Overload to test using declarations that introduce multiple shadow
|
|
|