| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
Original patch by Fariborz Jahanian; extended by me.
Fixes rdar://14124644
llvm-svn: 184688
|
| |
|
|
|
|
|
|
|
|
|
| |
functions/methods."
It crashes in the case;
/// Without any "param"s in the description.
int printf(const char *format, ...);
llvm-svn: 184283
|
| |
|
|
|
|
| |
// rdar://14124644
llvm-svn: 184249
|
| |
|
|
|
|
|
|
|
|
|
| |
ObjMethodDecl, resulting from invalid code.
Check for invalid decls in ObjCMethodDecl::getNextRedeclaration(); otherwise if we start from an invalid redeclaration
of an @implementation we would move to the @interface and not reach the original declaration again.
Fixes rdar://14024851
llvm-svn: 182951
|
| |
|
|
|
|
|
| |
@class command on an @interface declaration. Turn off
the warning for this case. // rdar://13927330
llvm-svn: 182334
|
| |
|
|
|
|
|
|
|
| |
recovery form duplicate method definition error thus
preventing doc parsing to loop trying to find comment
for the invalid redefinition in a previous declaration.
// rdar://13836387
llvm-svn: 181710
|
| |
|
|
|
|
| |
warn in pedantic mode.
llvm-svn: 181523
|
| |
|
|
|
|
| |
commands. // rdar://12381408
llvm-svn: 181071
|
| |
|
|
|
|
|
|
| |
top-level HeaderDoc tags @functiongroup and
@methodgroup to doc. tags recognized.
// rdar://12379114
llvm-svn: 177358
|
| |
|
|
|
|
|
|
| |
commands; top level tags such as @interface and
their 2nd level tags such as @coclass, etc.
// rdar://12379114
llvm-svn: 176667
|
| |
|
|
| |
llvm-svn: 176563
|
| |
|
|
|
|
| |
several diagnostics into one. // rdar://13094352
llvm-svn: 176560
|
| |
|
|
|
|
| |
// rdar://13094352.
llvm-svn: 176525
|
| |
|
|
|
|
|
| |
checkings and few other refactoring/cleanup.
// rdar://13094352.
llvm-svn: 176509
|
| |
|
|
|
|
|
|
| |
with parameter that is documented.
Fixes PR13670, <rdar://problem/12155840>.
llvm-svn: 162570
|
| |
|
|
|
|
|
|
| |
use \param and \returns in documentation.
Fixes PR13533.
llvm-svn: 162507
|
| |
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
llvm-svn: 160707
|
| |
|
|
|
|
| |
declarations.
llvm-svn: 160156
|
|
|
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
|