[cfe-dev] getSourceRange of an Expr Stmt covering the closing "; "?

Stephan Bergmann via cfe-dev cfe-dev at lists.llvm.org
Tue Oct 29 03:02:47 PDT 2019


On 29/10/2019 10:58, Ilya Biryukov wrote:
> It's a common problem, there's a helper in Clang Tooling library that 
> solves this.
> Take a look at the getExtendedRange function from 
> "include/clang/Tooling/Transformer/SourceCode.h".

Ah, there it did hide :)  Thanks!




More information about the cfe-dev mailing list