[clang] [Clang][Comments] Attach comments to decl even if preproc directives are in between (PR #88367)

Dana Jansens via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 2 07:45:13 PDT 2024


danakj wrote:

`#include` and `#define` at a minimum should break the connection. Comments above a `#define` can be attributed to the macro defined there, which is something that Subdoc does (example result: https://suslib.cc/macro.sus_check.html)

https://github.com/llvm/llvm-project/pull/88367


More information about the cfe-commits mailing list