sdkrystian wrote:

@erichkeane I have refactored `ParseSingleDeclarationAfterTemplate` (now named 
`ParseDeclarationAfterTemplate`) to call `ParseDeclGroup` and return the 
resultant `DeclGroup`. 
With respect to moving the point of diagnosis to `FinalizeDeclaratorGroup`: as 
of now, the diagnostics are still issued from the parser (as it's simpler & 
results in diagnostics being emitted in lexical order). We can diagnosis this 
in `FinalizeDeclaratorGroup` if you still deem it necessary. 


https://github.com/llvm/llvm-project/pull/78243
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to