[all-commits] [llvm/llvm-project] 161d00: [flang] Silence warnings from hermetic module file...

Peter Klausler via All-commits all-commits at lists.llvm.org
Thu Feb 27 14:29:56 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 161d002a0949046131ecaa6574ddfece5cfd225e
      https://github.com/llvm/llvm-project/commit/161d002a0949046131ecaa6574ddfece5cfd225e
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2025-02-27 (Thu, 27 Feb 2025)

  Changed paths:
    M flang/lib/Semantics/mod-file.cpp

  Log Message:
  -----------
  [flang] Silence warnings from hermetic module files (#128763)

Modules read from module files must have their symbols tagged with the
ModFile flag to suppress all warnings messages that might be emitted for
their contents. (Actionable warnings will have been emitted when the
modules were originally compiled, so we don't want to repeat them later
when the modules are USE'd.) The module symbols of the additional
modules in hermetic module files were not being tagged with that flag;
fix.



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