[llvm-bugs] [Bug 31093] New: Crash at code completion involving overloaded and static function

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Nov 21 07:08:16 PST 2016


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: unassignedclangbugs at nondot.org
          Reporter: nikolai.kosjar at qt.io
                CC: klimek at google.com, llvm-bugs at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20161121/44acc9ba/attachment.html>


More information about the llvm-bugs mailing list