#
322654d0 |
| 09-Nov-2013 |
Dmitri Gribenko <gribozavr@gmail.com> |
Comment parsing: recognize \def (but processing is a no-op, like the rest of similar commands that duplicate the declaration name)
llvm-svn: 194312
|
#
b3e8172e |
| 19-Aug-2013 |
Dmitri Gribenko <gribozavr@gmail.com> |
Comment parsing tests: move tests where they belong
Move C++-specific tests that were checking if we attach a base class comment to a derived class to an existing test comment-to-html-xml-conversion
Comment parsing tests: move tests where they belong
Move C++-specific tests that were checking if we attach a base class comment to a derived class to an existing test comment-to-html-xml-conversion.cpp. Note that the original testing approach was not actually testing the class--comment relationship. It only checked that we attached the comment *somewhere*.
The rest of subclass-comment.mm should be also moved elsewhere.
llvm-svn: 188658
show more ...
|
#
b64e95f4 |
| 24-Jul-2013 |
Fariborz Jahanian <fjahanian@apple.com> |
Documentation parsing: if typedef name is being declared via a macro, try using declaration's starting location. This is improvement over not having a valid location and dropping comment altogether.
Documentation parsing: if typedef name is being declared via a macro, try using declaration's starting location. This is improvement over not having a valid location and dropping comment altogether. // rdar://14348912
llvm-svn: 187085
show more ...
|
Revision tags: llvmorg-3.3.1-rc1 |
|
#
02489eb4 |
| 24-Jun-2013 |
Dmitri Gribenko <gribozavr@gmail.com> |
Comment parsing: allow "\param ..." to describe variadic arguments
Original patch by Fariborz Jahanian; extended by me.
Fixes rdar://14124644
llvm-svn: 184688
|
#
d6662934 |
| 22-Jun-2013 |
Dmitri Gribenko <gribozavr@gmail.com> |
Comment parsing: followup to r184610: allow multiple \returns
Remove unneeded member in CommentSema, add a test for the XML schema (the schema already allowed multiple paragraphs in <ResultDiscussio
Comment parsing: followup to r184610: allow multiple \returns
Remove unneeded member in CommentSema, add a test for the XML schema (the schema already allowed multiple paragraphs in <ResultDiscussion>, but there were no tests for that), fix HTML generation (it is not allowed to have <p> inside <dl>).
llvm-svn: 184652
show more ...
|
#
fb6f6f61 |
| 21-Jun-2013 |
Fariborz Jahanian <fjahanian@apple.com> |
[document parsing]: Allow multiple adjacent \return and the like commands. Render them properly in XML output. // rdar://14207725
llvm-svn: 184610
|
Revision tags: llvmorg-3.3.0, llvmorg-3.3.0-rc3 |
|
#
ab8128b0 |
| 31-May-2013 |
Daniel Jasper <djasper@google.com> |
Fix test error caused by r183008.
llvm-svn: 183010
|
Revision tags: llvmorg-3.3.0-rc2 |
|
#
9dc096c8 |
| 15-May-2013 |
Daniel Jasper <djasper@google.com> |
Fix test breakage caused by change in clang-format.
llvm-svn: 181888
|
Revision tags: llvmorg-3.3.0-rc1 |
|
#
dff02552 |
| 27-Mar-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
Mark comment-to-html-xml-conversion test as XFAIL:msan, in addition to valgrind.
llvm-svn: 178138
|
#
2e72dd4a |
| 01-Feb-2013 |
Dmitri Gribenko <gribozavr@gmail.com> |
Comment parsing: improve the fidelity of XML output for many block commands
This change introduces a 'kind' attribute for the <Para> tag, that captures the kind of the parent block command.
For exa
Comment parsing: improve the fidelity of XML output for many block commands
This change introduces a 'kind' attribute for the <Para> tag, that captures the kind of the parent block command.
For example:
\todo Meow.
used to be just <Para>Meow.</Para>, but now it is <Para kind="todo">Meow.</Para>
llvm-svn: 174216
show more ...
|
#
efe3038f |
| 30-Jan-2013 |
Dmitri Gribenko <gribozavr@gmail.com> |
Comment parsing: fold named character references test into other HTML tests
llvm-svn: 173934
|
#
c6d09603 |
| 22-Jan-2013 |
NAKAMURA Takumi <geek4civic@gmail.com> |
clang/test/Index/comment-to-html-xml-conversion.cpp: Mark this as XFAIL:valgrind, for now. Working in progress.
llvm-svn: 173121
|
#
a4fe1c13 |
| 21-Jan-2013 |
Manuel Klimek <klimek@google.com> |
Fixes formatting of empty blocks.
We now only put empty blocks into a single line, if all of: - all tokens of the structural element fit into a single line - we're not in a control flow statement
N
Fixes formatting of empty blocks.
We now only put empty blocks into a single line, if all of: - all tokens of the structural element fit into a single line - we're not in a control flow statement
Note that we usually don't put record definitions into a single line, as there's usually at least one more token (the semicolon) after the closing brace. This doesn't hold when we are in a context where there is no semicolon, like "enum E {}".
There were some missing tests around joining lines around the corner cases of the allowed number of columns, so this patch adds some.
llvm-svn: 173055
show more ...
|
#
c228619b |
| 21-Jan-2013 |
Daniel Jasper <djasper@google.com> |
Fix parsing of templated declarations.
Before: template <template <typename T>, typename P > class X; After: template <template <typename T>, typename P> class X;
More importantly, the token annot
Fix parsing of templated declarations.
Before: template <template <typename T>, typename P > class X; After: template <template <typename T>, typename P> class X;
More importantly, the token annotations for the second ">" are now computed correctly.
llvm-svn: 173047
show more ...
|
#
5fc79a41 |
| 19-Jan-2013 |
Dmitri Gribenko <gribozavr@gmail.com> |
Actually update the test, fixup for r172923
llvm-svn: 172925
|
#
c137ec8b |
| 19-Jan-2013 |
Dmitri Gribenko <gribozavr@gmail.com> |
Comment parsing: add more tests for html character references
llvm-svn: 172923
|
#
e7d10a1f |
| 10-Jan-2013 |
Manuel Klimek <klimek@google.com> |
Do not add newline in empty blocks.
void f() {} now gets formatted in one line.
llvm-svn: 172067
|
#
a9cc2491 |
| 07-Jan-2013 |
Dmitri Gribenko <gribozavr@gmail.com> |
Comment to XML conversion: no, we don't want to print instantiations for the <Declaration> tag
llvm-svn: 171763
|
#
28cacc74 |
| 07-Jan-2013 |
Manuel Klimek <klimek@google.com> |
Fix parsing of variable declarations directly after a class / struct.
Previous indent: class A { } a; void f() { };
With this patch: class A { } a; void f() { } ;
The patch introduces a production
Fix parsing of variable declarations directly after a class / struct.
Previous indent: class A { } a; void f() { };
With this patch: class A { } a; void f() { } ;
The patch introduces a production for classes and structs, and parses the rest of the line to the semicolon after the class scope. This allowed us to remove a long-standing wart in the parser that would just much the semicolon after any block. Due to this suboptimal formating some tests were broken.
Some unrelated formatting tests broke; those hit a bug in the ast printing, and need to be fixed separately.
llvm-svn: 171761
show more ...
|
#
1abf789c |
| 04-Jan-2013 |
Manuel Klimek <klimek@google.com> |
Various fixes to clang-format's macro handling.
Some of this is still pretty rough (note the load of FIXMEs), but it is strictly an improvement and fixes various bugs that were related to macro proc
Various fixes to clang-format's macro handling.
Some of this is still pretty rough (note the load of FIXMEs), but it is strictly an improvement and fixes various bugs that were related to macro processing but are also imporant in non-macro use cases.
Specific fixes: - correctly puts espaced newlines at the end of the line - fixes counting of white space before a token when escaped newlines are present - fixes parsing of "trailing" tokens when eof() is hit - puts macro parsing orthogonal to parsing other structure - general support for parsing of macro definitions
Due to the fix to format trailing tokens, this change also includes a bunch of fixes to the c-index tests.
llvm-svn: 171556
show more ...
|
#
ac5c1c28 |
| 02-Jan-2013 |
Daniel Jasper <djasper@google.com> |
Prefer splitting after "template <...>" and fix indentation.
This addresses llvm.org/PR14699
Before: template <typename T> void looooooooooooooooooooooongFunction(int Param1, int Param2); templ
Prefer splitting after "template <...>" and fix indentation.
This addresses llvm.org/PR14699
Before: template <typename T> void looooooooooooooooooooooongFunction(int Param1, int Param2); template <typename T> void looooooooooooooooooooongFunction( int Paaaaaaaaaaaaaaaaaaaaram1, int Paaaaaaaaaaaaaaaaaaaaram2);
After: template <typename T> void looooooooooooooooooooooongFunction(int Param1, int Param2); template <typename T> void looooooooooooooooooooongFunction(int Paaaaaaaaaaaaaaaaaaaaram1, int Paaaaaaaaaaaaaaaaaaaaram2);
llvm-svn: 171388
show more ...
|
#
0ca81941 |
| 21-Dec-2012 |
Daniel Jasper <djasper@google.com> |
Temporary fix of tests to make buildbots happy.
Permanent solution coming up after checking back with Fariborz/Douglas.
llvm-svn: 170887
|
Revision tags: llvmorg-3.2.0 |
|
#
68a542ae |
| 20-Dec-2012 |
Fariborz Jahanian <fjahanian@apple.com> |
Add objective-C style formatting to clang format and use it to format xml declaration tags. // rdar://12378714
llvm-svn: 170727
|
Revision tags: llvmorg-3.2.0-rc3 |
|
#
14ef4790 |
| 05-Dec-2012 |
Fariborz Jahanian <fjahanian@apple.com> |
Testing C++ declarations embedded in <declaration> tag of Comment XML. Added DeclPrint support for constructors and fix tests accordingly. This is wip. // rdar://12378714
llvm-svn: 169412
|
Revision tags: llvmorg-3.2.0-rc2 |
|
#
abbb210b |
| 15-Nov-2012 |
Dmitri Gribenko <gribozavr@gmail.com> |
Comment to XML conversion test: correct filename.
llvm-svn: 168101
|