]> granicus.if.org Git - clang/commit
In C++ code completion, only suggest the "template" keyword after ".",
authorDouglas Gregor <dgregor@apple.com>
Fri, 18 Sep 2009 23:55:56 +0000 (23:55 +0000)
committerDouglas Gregor <dgregor@apple.com>
Fri, 18 Sep 2009 23:55:56 +0000 (23:55 +0000)
commitff360b64a63ebaf3c42ee75b6cf1aae8972c6280
treec0203afca9a19b5a56f2390ed7bfe7bcc94f00bc
parent63f07c55d58951574afe9bbb9f7cb3f92eecdd9b
In C++ code completion, only suggest the "template" keyword after ".",
"->", or "::" if we will be looking into a dependent context. It's not
wrong to use the "template" keyword, but it's to needed, either.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@82307 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/CodeCompleteConsumer.cpp
test/CodeCompletion/nested-name-specifier.cpp