[llvm-bugs] [Bug 42662] New: No completion involving templated using in template class

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Jul 18 02:48:07 PDT 2019


https://bugs.llvm.org/show_bug.cgi?id=42662

            Bug ID: 42662
           Summary: No completion involving templated using in template
                    class
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: libclang
          Assignee: unassignedclangbugs at nondot.org
          Reporter: nikolai.kosjar at qt.io
                CC: klimek at google.com, llvm-bugs at lists.llvm.org,
                    richard-llvm at metafoo.co.uk

% echo $T /tmp/reproducer-template.cpp
% cat -n $T
     1  #include <vector>
     2  
     3  template<typename real = double>
     4  class TestClass {
     5  public:
     6      template<typename T>
     7      using ArrayType = std::vector<T>;
     8  private:
     9      ArrayType<real> testMember;
    10  public:
    11  
    12      void test() {
    13          testMember.
    14      }
    15  
    16  };
% ./bin/clang -fsyntax-only -Xclang -code-completion-at -Xclang $T:13:20 $T

--> No completion items.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190718/7fa6dfdc/attachment.html>


More information about the llvm-bugs mailing list