[Demangle PATCH] Some pre-fix cleanups

2017-09-15 Thread Nathan Sidwell
In working on bug 82195, a lambda-related demangler bug, I noticed some cleanup opportunities. 1) we express an is_fnqual_component_type in two separate, independent, ways. It would be smarter to express one of those ways in terms of the other. 2) An overly nested function call made it awkw

[Demangle PATCH] Some pre-fix cleanups

2017-09-15 Thread Nathan Sidwell
In working on bug 82195, a lambda-related demangler bug, I noticed some cleanup opportunities. 1) we express an is_fnqual_component_type in two separate, independent, ways. It would be smarter to express one of those ways in terms of the other. 2) An overly nested function call made it awkw