[all-commits] [llvm/llvm-project] 77148f: [clang] Do not share ownership of `HeaderSearchOpt...

Jan Svoboda via All-commits all-commits at lists.llvm.org
Fri Apr 25 07:39:14 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 77148fce6f35743c368e6c01ad24ebcec9fdea13
      https://github.com/llvm/llvm-project/commit/77148fce6f35743c368e6c01ad24ebcec9fdea13
  Author: Jan Svoboda <jan_svoboda at apple.com>
  Date:   2025-04-25 (Fri, 25 Apr 2025)

  Changed paths:
    M clang/include/clang/Frontend/ASTUnit.h
    M clang/include/clang/Frontend/CompilerInstance.h
    M clang/include/clang/Frontend/CompilerInvocation.h
    M clang/lib/CrossTU/CrossTranslationUnit.cpp
    M clang/lib/Frontend/ASTMerge.cpp
    M clang/lib/Frontend/ASTUnit.cpp
    M clang/lib/Frontend/FrontendAction.cpp
    M clang/tools/c-index-test/core_main.cpp
    M clang/tools/clang-extdef-mapping/ClangExtDefMapGen.cpp
    M clang/tools/libclang/CIndex.cpp
    M clang/unittests/Frontend/ASTUnitTest.cpp

  Log Message:
  -----------
  [clang] Do not share ownership of `HeaderSearchOptions` (#132984)

This PR makes it so that `CompilerInvocation` is the sole owner of the
`HeaderSearchOptions` instance.



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