[all-commits] [llvm/llvm-project] 5b5329: [NFC] Make MultiplexExternalSemaSource own sources

Chris B via All-commits all-commits at lists.llvm.org
Fri Sep 2 11:58:36 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5b5329bd41ba977459fcd7abb7cf438fd98c98e0
      https://github.com/llvm/llvm-project/commit/5b5329bd41ba977459fcd7abb7cf438fd98c98e0
  Author: Chris Bieneman <chris.bieneman at me.com>
  Date:   2022-09-02 (Fri, 02 Sep 2022)

  Changed paths:
    M clang-tools-extra/clang-include-fixer/IncludeFixer.cpp
    M clang/include/clang/Sema/MultiplexExternalSemaSource.h
    M clang/include/clang/Sema/Sema.h
    M clang/lib/Frontend/ChainedIncludesSource.cpp
    M clang/lib/Sema/MultiplexExternalSemaSource.cpp
    M clang/lib/Sema/Sema.cpp
    M clang/lib/Sema/SemaDeclCXX.cpp
    M clang/unittests/Sema/ExternalSemaSourceTest.cpp

  Log Message:
  -----------
  [NFC] Make MultiplexExternalSemaSource own sources

This change refactors the MuiltiplexExternalSemaSource to take ownership
of the underlying sources. As a result it makes a larger cleanup of
external source ownership in Sema and the ChainedIncludesSource.

Reviewed By: aaron.ballman, aprantl

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




More information about the All-commits mailing list