adek05 added a comment.

I think this won't work. If there is a problem with the expression inside 
`throw` or `noexcept` specifier, it will be highlighted inside the parens, 
never trying to actually access the end location of the function declaration.

It would be enough if there is a warning/error which would highlight the whole 
function declaration, because we could check whether it points at `;` or the 
character in front of it, but I don't know about such warning and I don't know 
how to smartly look for it.


http://reviews.llvm.org/D15443



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to