History log of /external/clang/test/Index/comment-cplus-decls.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
36fab8d70eee342d66e03c9b09c029f126196103 10-Jan-2013 Manuel Klimek <klimek@google.com> Do not add newline in empty blocks.

void f() {}
now gets formatted in one line.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@172067 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Index/comment-cplus-decls.cpp
27c2cb24d5e2e9fda68b929c6d03c761196d8e2d 07-Jan-2013 Dmitri Gribenko <gribozavr@gmail.com> Comment to XML conversion: no, we don't want to print instantiations for the
<Declaration> tag


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@171763 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Index/comment-cplus-decls.cpp
de7685487c5d628dd9fe64c4f861cd1888f50fc7 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 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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@171761 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Index/comment-cplus-decls.cpp
d4ae6535a667d515afc0af3e67ca287548aba985 21-Dec-2012 Fariborz Jahanian <fjahanian@apple.com> Fixes couple of friend declaration -ast-print bug
found by running -ast-print on all-std-headers.cpp
which caused it to go into infinite loop. Now
-ast-print prints all declarations found in
all-std-headers.cpp.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@170928 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Index/comment-cplus-decls.cpp
8920eb7a957f3b0bc4a8213ecdaec9a7fcd139ea 05-Dec-2012 Fariborz Jahanian <fjahanian@apple.com> Testing C++ declarations embedded in
<declaration> tag of Comment XML and
added support for friend declaration printing.
This is wip. // rdar://12378714


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@169346 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Index/comment-cplus-decls.cpp