[all-commits] [llvm/llvm-project] 5984ea: [clang] Prevent creation of new submodules in ASTW...

Ben Langmuir via All-commits all-commits at lists.llvm.org
Tue May 9 13:03:02 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5984ea216d2acbe5613b0af06ea27ef395ca9904
      https://github.com/llvm/llvm-project/commit/5984ea216d2acbe5613b0af06ea27ef395ca9904
  Author: Ben Langmuir <blangmuir at apple.com>
  Date:   2023-05-09 (Tue, 09 May 2023)

  Changed paths:
    M clang/include/clang/Lex/HeaderSearch.h
    M clang/include/clang/Lex/ModuleMap.h
    M clang/lib/Lex/HeaderSearch.cpp
    M clang/lib/Lex/ModuleMap.cpp
    M clang/lib/Serialization/ASTWriter.cpp

  Log Message:
  -----------
  [clang] Prevent creation of new submodules in ASTWriter

Avoid inferring new submodules for headers in ASTWriter's collection of
affecting modulemap files, since we don't want to pick up dependencies
that didn't actually exist during parsing.

rdar://109112624

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




More information about the All-commits mailing list