[Refactoring] Unify parsing code for linkage, uda, and template parameters
fix Issue 13502 - Stray '(' warning not emitted for documentation of enum templates
fix Issue 13497 - [ICE e2ir 1911] Array op compiler error
Merge pull request #4007 from 9rnsr/fix13497

[REG2.065] Issue 13497 - [ICE e2ir 1911] Array op compiler error
Merge pull request #4005 from 9rnsr/fix13502

[REG2.065] Issue 13502 - Stray '(' warning not emitted for documentation of enum templates