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

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Aug 16 02:36:25 PDT 2017


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

            Bug ID: 34207
           Summary: Crash at code completion involving overloaded and
                    static function II
           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

---8<------------------
struct QObject {
    static void connect(int, int);
    void connect();
};

struct Foo : public QObject {
    Foo() {
        QObject::connect( /* Complete here for crash */);
    }
};
---8<------------------

This crashes for current trunk and 5.0 branch.


This is a variant of 

 Crash at code completion involving overloaded and static function
  https://bugs.llvm.org/show_bug.cgi?id=31093

which is already fixed.

There is also 

  Code completion crash with unresolved member expr and explicit base 
  https://bugs.llvm.org/show_bug.cgi?id=32428

but it does not crash for me.

-- 
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/20170816/82d7e4c4/attachment.html>


More information about the llvm-bugs mailing list