Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FunctionInfo: total ordering #36

Closed
vinniefalco opened this issue Apr 13, 2023 · 1 comment
Closed

FunctionInfo: total ordering #36

vinniefalco opened this issue Apr 13, 2023 · 1 comment

Comments

@vinniefalco
Copy link
Member

FunctionInfo needs a total ordering with respect to other FunctionInfo in the same scope:

first, on case-insensitive unqualified name
second, on the formal parameter list
third on the template parameter list

For relevant scopes we might need to insert the access specifier somewhere in there.

@vinniefalco vinniefalco changed the title FunctionInfo: overload set total ordering FunctionInfo: total ordering Apr 13, 2023
@vinniefalco
Copy link
Member Author

Or, we could just sort by USR...

vinniefalco added a commit to vinniefalco/mrdox that referenced this issue Apr 22, 2023
Always canonicalize on the ID. This is simple,
fast, and always correct. We do it always, when
the corpus is built.

fix cppalliance#31, fix cppalliance#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

No branches or pull requests

1 participant