zhanyi22333 wrote:

This commit use tokens from MacroInfo to emit the macro body.
It emits macro body below the part of macro name.

For import test case, it can not get MacroInfo. So it will just print macro 
name as below.

```
   Macro Definitions:
     CONSTANT
     FUNC_Macro
     FOO
   Macro Definition Bodies:
     CONSTANT
     FUNC_Macro
     FOO
```

 I wonder whether it is better to not print body part for import case.


https://github.com/llvm/llvm-project/pull/85745
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to