[all-commits] [llvm/llvm-project] 22ac06: [clangd] Small optimization in SelectionTree

Sam McCall via All-commits all-commits at lists.llvm.org
Tue Jan 11 01:24:10 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 22ac067b2dce8c90db0bbeecb6ec926f526399df
      https://github.com/llvm/llvm-project/commit/22ac067b2dce8c90db0bbeecb6ec926f526399df
  Author: Sam McCall <sam.mccall at gmail.com>
  Date:   2022-01-11 (Tue, 11 Jan 2022)

  Changed paths:
    M clang-tools-extra/clangd/Selection.cpp

  Log Message:
  -----------
  [clangd] Small optimization in SelectionTree

This seems to be strictly faster in all cases. Before fixing D116978 it
was one of the hot paths, and may become one again.




More information about the All-commits mailing list