[LLVMbugs] [Bug 19259] New: CommentAST does not represent \code{.ext} correctly
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Thu Mar 27 06:06:25 PDT 2014
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: unassignedclangbugs at nondot.org
Reporter: philipp.moeller at geometryfactory.com
CC: llvmbugs at cs.uiuc.edu
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140327/37b7d8fe/attachment.html>
More information about the llvm-bugs
mailing list