arphaman added a comment.

It seems that unresolved member expressions have other lookup issues. For 
example, this will crash when code-completing as well:

  struct Foo {
    void foo() const;
    static void foo(bool);
  };
  
  struct Bar: Foo {
    void foo(bool param) {
  this->Foo::foo(/*CC CRASH*/  );// unresolved member expression with an 
explicit base
    }
  };

Are we sure that a call to `AddFunctionCandidates` is the right way to gather 
the method overloads in this particular instance?


https://reviews.llvm.org/D30248



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to