http://llvm.org/bugs/show_bug.cgi?id=19259
Bug ID: 19259
Summary: CommentAST does not represent \code{.ext} correctly
Product: clang
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: -New Bugs
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
Doxygen allows \code commands to specify the language of the code-block by
attaching an extension (see
http://www.stack.nl/~dimitri/doxygen/manual/commands.html#cmdcode):
/*!
* \code{.cpp}
* int x;
* \endcode
*/
void foo() {}
This results in the following AST
|-VerbatimBlockComment 0x459c0a0 <col:4, col:9> Name="code"
CloseName="endcode"
| |-VerbatimBlockLineComment 0x459c0f0 <col:9, col:15> Text="{.cpp}"
| `-VerbatimBlockLineComment 0x459c110 <line:25:3, col:10> Text=" int x;"
The {.cpp} should not be a VerbatimBlockLineComment, but an attribute
to the VerbatimBlockComment.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs