[all-commits] [llvm/llvm-project] 4581bf: [clangd] Dont index deeply nested symbols

kadir çetinkaya via All-commits all-commits at lists.llvm.org
Tue Apr 27 03:35:43 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4581bf31bb8333dc1372959f7d650ed940eab710
      https://github.com/llvm/llvm-project/commit/4581bf31bb8333dc1372959f7d650ed940eab710
  Author: Kadir Cetinkaya <kadircet at google.com>
  Date:   2021-04-27 (Tue, 27 Apr 2021)

  Changed paths:
    M clang-tools-extra/clangd/AST.cpp
    M clang-tools-extra/clangd/AST.h
    M clang-tools-extra/clangd/index/IndexAction.cpp
    M clang-tools-extra/clangd/unittests/ASTTests.cpp
    M clang-tools-extra/clangd/unittests/IndexActionTests.cpp

  Log Message:
  -----------
  [clangd] Dont index deeply nested symbols

This is fix for some timeouts and OOM problems faced while indexing an
auto-generated file with thousands of nested lambdas.

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




More information about the All-commits mailing list