[cfe-dev] match OffsetOfExpr

Billy Araujo via cfe-dev cfe-dev at lists.llvm.org
Wed Aug 12 10:52:37 PDT 2020

Anyone know how to match OffsetOfExpr?

|-FunctionDecl 0x2484fff0298 <line:9:1, line:12:1> line:9:13 used f1 'void
()' static
| `-CompoundStmt 0x2484fff03c8 <line:10:1, line:12:1>
|   `-OffsetOfExpr 0x2484fff0390 <C:\Program
Files\LLVM\lib\clang\10.0.0\include\stddef.h:104:24, col:47> 'unsigned long

In clang-query if I type: m offsetOfExpr() is says: matcher not found.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20200812/a2ce1d11/attachment.html>

More information about the cfe-dev mailing list