[all-commits] [llvm/llvm-project] ee044d: [clang] Diagnose config_macros before building mod...

Michael Spencer via All-commits all-commits at lists.llvm.org
Tue Mar 5 10:15:33 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ee044d5e651787c5d73b37b2cbb7ca6444bb0502
      https://github.com/llvm/llvm-project/commit/ee044d5e651787c5d73b37b2cbb7ca6444bb0502
  Author: Michael Spencer <bigcheesegs at gmail.com>
  Date:   2024-03-05 (Tue, 05 Mar 2024)

  Changed paths:
    M clang/lib/Frontend/CompilerInstance.cpp
    R clang/test/Modules/Inputs/config.h
    M clang/test/Modules/Inputs/module.modulemap
    M clang/test/Modules/config_macros.m

  Log Message:
  -----------
  [clang] Diagnose config_macros before building modules (#83641)

Before this patch, if a module fails to build because of a missing
config_macro, the user will never see the config macro warning. This
patch diagnoses this before building, and each subsequent time a module
is imported.

rdar://123921931



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