| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
llvm-svn: 161331
|
|
|
|
|
|
|
|
|
|
| |
Doxygen manual claims that multiple \brief or \returns commands will be merged
together, but actual behavior is different (second \brief command becomes a
part of a discussion, second \returns becomes a "Returns: blah" paragraph on
its own). Anyway, it seems to be a bad idea to use multiple \brief or \returns
commands in a single command.
llvm-svn: 161325
|
|
|
|
|
|
| |
ObjC methods.
llvm-svn: 161324
|
|
|
|
|
|
| |
the function returns void.
llvm-svn: 161261
|
|
|
|
|
|
| |
separate flags.
llvm-svn: 161217
|
|
|
|
| |
llvm-svn: 161141
|
|
|
|
|
|
| |
already extracting most of this, but discarding at the end of semantic analysis.
llvm-svn: 161140
|
|
|
|
|
|
|
|
|
|
| |
The only caveat is renumbering CXCommentKind enum for aesthetic reasons -- this
breaks libclang binary compatibility, but should not be a problem since API is
so new.
This also fixes PR13372 as a side-effect.
llvm-svn: 161087
|
|
|
|
| |
llvm-svn: 160901
|
|
|
|
|
|
| |
arguments. Just an optimization, no functional change.
llvm-svn: 160896
|
|
|
|
|
|
| |
parameter names.
llvm-svn: 160696
|
|
|
|
| |
llvm-svn: 160689
|
|
|
|
| |
llvm-svn: 160634
|
|
|
|
|
|
|
|
| |
rendering mode for clients that don't want to interpret Doxygen commands.
Also add a libclang API to query this information.
llvm-svn: 160633
|
|
|
|
| |
llvm-svn: 160481
|
|
|
|
| |
llvm-svn: 160414
|
|
|
|
|
|
| |
line with Statement AST nodes.
llvm-svn: 160182
|
|
|
|
|
|
| |
start tags' and 'HTML close tags' to 'HTML end tags' according to HTML spec.
llvm-svn: 160153
|
|
|
|
|
|
| |
for pointing this!
llvm-svn: 160149
|
|
|
|
|
|
| |
sense to pass (unsigned)-(unsigned) to abs().
llvm-svn: 160097
|
|
|
|
| |
llvm-svn: 160087
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
diagnostics implemented -- see testcases.
I created a new TableGen file for comment diagnostics,
DiagnosticCommentKinds.td, because comment diagnostics don't logically
fit into AST diagnostics file. But I don't feel strongly about it.
This also implements support for self-closing HTML tags in comment
lexer and parser (for example, <br />).
In order to issue precise diagnostics CommentSema needs to know the
declaration the comment is attached to. There is no easy way to find a decl by
comment, so we match comments and decls in lockstep: after parsing one
declgroup we check if we have any new, not yet attached comments. If we do --
then we do the usual comment-finding process.
It is interesting that this automatically handles trailing comments.
We pick up not only comments that precede the declaration, but also
comments that *follow* the declaration -- thanks to the lookahead in
the lexer: after parsing the declgroup we've consumed the semicolon
and looked ahead through comments.
Added -Wdocumentation-html flag for semantic HTML errors to allow the user to
disable only HTML warnings (but not HTML parse errors, which we emit as
warnings in -Wdocumentation).
llvm-svn: 160078
|
|
very simple semantic analysis that just builds the AST; minor changes for lexer
to pick up source locations I didn't think about before.
Comments AST is modelled along the ideas of HTML AST: block and inline content.
* Block content is a paragraph or a command that has a paragraph as an argument
or verbatim command.
* Inline content is placed within some block. Inline content includes plain
text, inline commands and HTML as tag soup.
llvm-svn: 159790
|