Skip to content

Categorize using Base::method; as a function.#381

Merged
copybara-service[bot] merged 1 commit intomainfrom
test_863686581
Feb 3, 2026
Merged

Categorize using Base::method; as a function.#381
copybara-service[bot] merged 1 commit intomainfrom
test_863686581

Conversation

@copybara-service
Copy link

Categorize using Base::method; as a function.

This will help overload detection (once it iterates over unsupported items), as this is literally how you introduce a method from your base class into an overload set.

using Base::foo;  // required to be added to the `foo` overload set introduced here
void foo(int);  // shadows Base::foo unless you have the `using`

Also, it reduces the number of errors with an unknown item categorization for aggregation purposes.

After this change, the single only uncategorized item I could find on a test run was a namespace declaration. I guess I should add a new Category for that, and then I'll need to iterate over larger test codebases.

@copybara-service copybara-service bot force-pushed the test_863686581 branch 3 times, most recently from 58f557f to 07d2c0f Compare February 3, 2026 20:33
This will help overload detection (once it iterates over unsupported items), as this is literally how you introduce a method from your base class into an overload set.

```c++
using Base::foo;  // required to be added to the `foo` overload set introduced here
void foo(int);  // shadows Base::foo unless you have the `using`
```

Also, it reduces the number of errors with an unknown item categorization for aggregation purposes.

After this change, the single only uncategorized item I could find on a test run was a namespace declaration. I guess I should add a new Category for that, and then I'll need to iterate over larger test codebases.

PiperOrigin-RevId: 864997903
@copybara-service copybara-service bot merged commit 7bd0698 into main Feb 3, 2026
@copybara-service copybara-service bot deleted the test_863686581 branch February 3, 2026 20:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant