]> granicus.if.org Git - clang/commit
[Index/DocComments] When cloning a full comment, pick the template parameters from...
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Sun, 27 Apr 2014 22:53:03 +0000 (22:53 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Sun, 27 Apr 2014 22:53:03 +0000 (22:53 +0000)
commit22ede254f891d68019fddff0f8c32a20232b220b
tree90723aa637fe07f6b8e9ec4fbc6f209ca5b4a8e3
parent68dfabb403d35eab47d5d4d09bf569a12515dc31
[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
lib/AST/ASTContext.cpp
test/Index/comment-cplus-template-decls.cpp