Commit Graph

6 Commits

Author SHA1 Message Date
Argyrios Kyrtzidis 22ede254f8 [Index/DocComments] When cloning a full comment, pick the template parameters from the original FullComment,
if the parameters are not already set (e.g. because it is a typedef).

Fixes crash of rdar://16128173

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@207382 91177308-0d34-0410-b5e6-96231b3b80d8
2014-04-27 22:53:03 +00:00
Benjamin Kramer c148531050 Pretty Printer: Print constexpr and ref qualifiers. Don't print return types on destructors.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@202181 91177308-0d34-0410-b5e6-96231b3b80d8
2014-02-25 18:49:49 +00:00
Manuel Klimek 36fab8d70e 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
2013-01-10 13:24:24 +00:00
Fariborz Jahanian 762661a077 Fixes a typo in this test.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@169519 91177308-0d34-0410-b5e6-96231b3b80d8
2012-12-06 17:50:40 +00:00
Fariborz Jahanian 5c6ae4bd89 more test of template declarations in a
<declaration> XML tag. // rdar://12378714


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@169457 91177308-0d34-0410-b5e6-96231b3b80d8
2012-12-06 00:57:28 +00:00
Fariborz Jahanian 5e0ea1994b More C++ testing of declarations embedded in
<declaration> tag of Comment XML  and fixing 
DeclPrint of templates along the way - wip. 
//rdar://12378714


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@169453 91177308-0d34-0410-b5e6-96231b3b80d8
2012-12-06 00:09:40 +00:00