[all-commits] [llvm/llvm-project] 638f0c: [clangd] Be more explicit on testing the optional ...

Haojian Wu via All-commits all-commits at lists.llvm.org
Fri Jul 31 05:35:23 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 638f0cf565f2121151c32d7eb52a1de0e333d5f6
      https://github.com/llvm/llvm-project/commit/638f0cf565f2121151c32d7eb52a1de0e333d5f6
  Author: Haojian Wu <hokein.wu at gmail.com>
  Date:   2020-07-31 (Fri, 31 Jul 2020)

  Changed paths:
    M clang-tools-extra/clangd/XRefs.cpp
    M clang-tools-extra/clangd/unittests/XRefsTests.cpp

  Log Message:
  -----------
  [clangd] Be more explicit on testing the optional DefLoc in LocatedSymbol.

And also fix a bug where we may return a meaningless location.

Differential Revision: https://reviews.llvm.org/D84919




More information about the All-commits mailing list