[PATCH] D58341: [clangd] Index UsingDecls

Haojian Wu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 18 07:27:52 PST 2019


hokein added a comment.

I wonder how does merge work with Sema results? See the case below, IIUC our indexer has one symbol for this using decl,  but the code completion result from Sema contains two symbols. The symbol ids of these 3 symbols are different, so we will end up with 3 completion results.

  namespace abc {
  int foo(int);
  int foo(double);
  };
  
  namespace std {
  using abc::foo;
  }
  
  void f() {
    std::^
  }


Repository:
  rCTE Clang Tools Extra

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D58341/new/

https://reviews.llvm.org/D58341





More information about the cfe-commits mailing list