[all-commits] [llvm/llvm-project] a1b423: [clang][deps] Fix `__has_include` behavior with um...

Jan Svoboda via All-commits all-commits at lists.llvm.org
Wed Oct 25 14:58:23 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a1b4238eaf76d3fc51e417a5d70fc8abf202d1c2
      https://github.com/llvm/llvm-project/commit/a1b4238eaf76d3fc51e417a5d70fc8abf202d1c2
  Author: Jan Svoboda <jan_svoboda at apple.com>
  Date:   2023-10-25 (Wed, 25 Oct 2023)

  Changed paths:
    M clang/lib/Lex/PPMacroExpansion.cpp
    A clang/test/ClangScanDeps/modules-has-include-umbrella-header.c

  Log Message:
  -----------
  [clang][deps] Fix `__has_include` behavior with umbrella headers (#70144)

Previously, Clang wouldn't try to resolve the module for the header
being checked via `__has_include`. This meant that such header was
considered textual (a.k.a. part of the module Clang is currently
compiling).

rdar://116926060




More information about the All-commits mailing list