Issue |
123582
|
Summary |
Doxygen grouping commands not visible in AST
|
Labels |
new issue
|
Assignees |
|
Reporter |
tcottin
|
[Doxygen grouping](https://www.doxygen.nl/manual/grouping.html) seems not to be available in the AST.
Taking one of the examples from the Doxygen grouping docs:
```c
/**
* \defgroup IntVariables Global integer variables
* @{
*/
/** an integer variable */
extern int IntegerVariable;
/**@}*/
```
Dump AST:
```bash
> clang.exe -Xclang -ast-dump -fsyntax-only test.c
TranslationUnitDecl 0x2428362dd28 <<invalid sloc>> <invalid sloc>
|-TypedefDecl 0x2428362e558 <<invalid sloc>> <invalid sloc> implicit __int128_t '__int128'
| `-BuiltinType 0x2428362e2f0 '__int128'
|-TypedefDecl 0x2428362e5c8 <<invalid sloc>> <invalid sloc> implicit __uint128_t 'unsigned __int128'
| `-BuiltinType 0x2428362e310 'unsigned __int128'
|-TypedefDecl 0x2428362e8d0 <<invalid sloc>> <invalid sloc> implicit __NSConstantString 'struct __NSConstantString_tag'
| `-RecordType 0x2428362e6a0 'struct __NSConstantString_tag'
| `-Record 0x2428362e620 '__NSConstantString_tag'
|-TypedefDecl 0x2428362e978 <<invalid sloc>> <invalid sloc> implicit __builtin_ms_va_list 'char *'
| `-PointerType 0x2428362e930 'char *'
| `-BuiltinType 0x2428362ddd0 'char'
|-TypedefDecl 0x2428362e9e8 <<invalid sloc>> <invalid sloc> implicit __builtin_va_list 'char *'
| `-PointerType 0x2428362e930 'char *'
| `-BuiltinType 0x2428362ddd0 'char'
`-VarDecl 0x2428362eab8 <C:\<path>\test.c:7:1, col:12> col:12 IntegerVariable 'int' extern
`-FullComment 0x2428362ec40 <line:6:4, col:24>
`-ParagraphComment 0x2428362ec10 <col:4, col:24>
`-TextComment 0x2428362ebe0 <col:4, col:24> Text=" an integer variable "
```
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs