* Is declaration the same family (class, function or variable). * * @param decl declaration to compare to * @return true if same family, false if different family */
| 251 | * @return true if same family, false if different family |
| 252 | */ |
| 253 | bool isSameFamily(const TemplateSimplifier::TokenAndName &decl) const { |
| 254 | // Make sure a family flag is set and matches. |
| 255 | // This works because at most only one flag will be set. |
| 256 | return ((mFlags & fFamilyMask) && (decl.mFlags & fFamilyMask)); |
| 257 | } |
| 258 | }; |
| 259 | |
| 260 | /** |