[all-commits] [llvm/llvm-project] 73dba2: [clang][deps] Fix modulemap file path for implemen...

Ben Langmuir via All-commits all-commits at lists.llvm.org
Fri Jan 27 11:38:00 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 73dba2f649a8e8c01e9c8b8df3bdc89cdf0fd7ee
      https://github.com/llvm/llvm-project/commit/73dba2f649a8e8c01e9c8b8df3bdc89cdf0fd7ee
  Author: Ben Langmuir <blangmuir at apple.com>
  Date:   2023-01-27 (Fri, 27 Jan 2023)

  Changed paths:
    M clang/lib/Tooling/DependencyScanning/ModuleDepCollector.cpp
    A clang/test/ClangScanDeps/modules-implementation-vfs.m

  Log Message:
  -----------
  [clang][deps] Fix modulemap file path for implementation of module

Use the name "as requested" for the path of the implemented module's
modulemap file, just as we do for other modulemap file paths. This fixes
fatal errors with modules where we tried to find framework headers
relative to the wrong directory when imported by an implementation file
of the same module.

rdar://104619123

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




More information about the All-commits mailing list