[all-commits] [llvm/llvm-project] de9731: [clang][lex] Avoid `DirectoryLookup` copies

Jan Svoboda via All-commits all-commits at lists.llvm.org
Thu Oct 20 16:12:47 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: de9731b7033f0393144299d19765a16cb6ae331f
      https://github.com/llvm/llvm-project/commit/de9731b7033f0393144299d19765a16cb6ae331f
  Author: Jan Svoboda <jan_svoboda at apple.com>
  Date:   2022-10-20 (Thu, 20 Oct 2022)

  Changed paths:
    M clang/lib/Lex/HeaderSearch.cpp

  Log Message:
  -----------
  [clang][lex] Avoid `DirectoryLookup` copies

This patch fixes a performance regression introduced in D121685 that was caused by copying `DirectoryLookup`.

rdar://101206790

Reviewed By: ributzka

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




More information about the All-commits mailing list