Clang Rewriter: How to insert something in the line before a source location

后端 未结 0 1665
梦如初夏
梦如初夏 2021-01-16 05:51

I would like to insert a comment with Clang Rewriter into some source code a line before a CallExpr. I have written a matcher to find the CallExpr and it works fine.

相关标签:
回答
  • 消灭零回复
提交回复
热议问题