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

            Bug ID: 31093
           Summary: Crash at code completion involving overloaded and
                    static function
           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 source.cpp 
struct Foo {
    void foo() const;
    static void foo(bool);
};

struct Bar
{
    void foo(bool param)
    {
        Foo::foo(pa/*COMPLETE HERE*/)
    }
};

$ c-index-test -code-completion-at=source.cpp:10:18 source.cpp
libclang: crash detected in code completion
Unable to perform code completion!

-- 
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

Reply via email to