https://llvm.org/bugs/show_bug.cgi?id=30847
Bug ID: 30847 Summary: No completions for template class member within template class (T forwarded) Product: clang Version: 3.9 Hardware: PC OS: Linux Status: NEW Severity: normal Priority: P Component: libclang Assignee: unassignedclangb...@nondot.org Reporter: nikolai.kos...@qt.io CC: kli...@google.com, llvm-bugs@lists.llvm.org Classification: Unclassified $ cat -n /tmp/foo.cpp 1 template<class T> 2 struct Temp1 { T var; }; 3 4 template <class T> 5 struct Temp2 6 { 7 void func() 8 { 9 Temp1<T> t1; 10 t1. // Complete here 11 } 12 }; $ /usr/local/bin/clang-3.9 -cc1 -code-completion-at /tmp/foo.cpp:10:12 /tmp/foo.cpp <nothing> Observations: 1. In line 9, if "T" is changed to "int" there are some results. 2. If "t1" is declared as member, same issue occurs. Origin: https://bugreports.qt.io/browse/QTCREATORBUG-17187 Might be related to https://llvm.org/bugs/show_bug.cgi?id=17614 -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ llvm-bugs mailing list llvm-bugs@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs