[all-commits] [llvm/llvm-project] e494e2: [clang][lex] Remove `HeaderFileInfo::Framework` (#...

Jan Svoboda via All-commits all-commits at lists.llvm.org
Thu Oct 31 16:33:49 PDT 2024


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

  Changed paths:
    M clang-tools-extra/clangd/index/SymbolCollector.cpp
    M clang/include/clang/Lex/HeaderSearch.h
    M clang/include/clang/Serialization/ASTBitCodes.h
    M clang/lib/Lex/HeaderSearch.cpp
    M clang/lib/Serialization/ASTReader.cpp
    M clang/lib/Serialization/ASTReaderInternals.h
    M clang/lib/Serialization/ASTWriter.cpp
    M clang/unittests/Lex/HeaderSearchTest.cpp

  Log Message:
  -----------
  [clang][lex] Remove `HeaderFileInfo::Framework` (#114460)

This PR removes the `HeaderFileInfo::Framework` member and reduces the
size of this data type from 32B to 16B. This should improve Clang's
memory usage in situations where it keeps track of lots of header files.
NFCI. Depends on #114459.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list