Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
C++ specifiers can go in almost any order, but the `friend` logic was overlooking this for some cases. In particular, `constexpr friend` wasn't being accounted for. The following cases have been verified. ```cpp struct cat { /// Checks if the cats are the same. constexpr friend bool operator==(cat x, cat y) { return true; } /// Makes the cat cute. friend void make_cute(cat c) { } /// Makes the cat cuter. friend void make_cuter(cat c); /// Makes the cat the cutest. constexpr friend void make_cutest(cat c); }; /// This won't be picked up. constexpr void make_cutest(cat c) {} ``` Fixes breathe-doc#916
- Loading branch information