[all-commits] [llvm/llvm-project] 5a9547: [clangd] Simplify the code in Index::refs

Ilya Biryukov via All-commits all-commits at lists.llvm.org
Thu Nov 14 05:44:37 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 5a9547b007090cf9c082ac84490310ee26d8b338
      https://github.com/llvm/llvm-project/commit/5a9547b007090cf9c082ac84490310ee26d8b338
  Author: Ilya Biryukov <ibiryukov at google.com>
  Date:   2019-11-14 (Thu, 14 Nov 2019)

  Changed paths:
    M clang-tools-extra/clangd/index/MemIndex.cpp
    M clang-tools-extra/clangd/index/Merge.cpp
    M clang-tools-extra/clangd/index/dex/Dex.cpp

  Log Message:
  -----------
  [clangd] Simplify the code in Index::refs

Summary:
While here, also fix potential UB in MergeIndex.

Thanks Kadir for finding this!

Reviewers: hokein

Reviewed By: hokein

Subscribers: merge_guards_bot, MaskRay, jkorous, arphaman, kadircet, usaxena95, cfe-commits

Tags: #clang

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




More information about the All-commits mailing list