]> granicus.if.org Git - clang/commit
PR13699: Include friend declarations in code completion results if they had a
authorRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 15 Jan 2015 02:27:20 +0000 (02:27 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 15 Jan 2015 02:27:20 +0000 (02:27 +0000)
commite533cc869ed9560f9aafbe7fad8ea8e7972eeb1c
tree29c74baddca5d0a93b0dde8263a51630c2a82606
parent2f34d1d6587aba779980d606c0a1ddb2417635a4
PR13699: Include friend declarations in code completion results if they had a
prior visible declaration. Prefer to take template parameter names from the
first declaration.

Testcase from a patch by Francisco Lopes!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@226083 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaCodeComplete.cpp
test/Index/complete-template-friends-defined.cpp [new file with mode: 0644]