[all-commits] [llvm/llvm-project] 8d15e2: Fix modules build after introduction of PassSuppor...

Raphael Isemann via All-commits all-commits at lists.llvm.org
Mon Apr 27 04:54:17 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 8d15e222da24e5d3b284d0df4c72b3f0bdf76a9b
      https://github.com/llvm/llvm-project/commit/8d15e222da24e5d3b284d0df4c72b3f0bdf76a9b
  Author: Raphael Isemann <teemperor at gmail.com>
  Date:   2020-04-27 (Mon, 27 Apr 2020)

  Changed paths:
    M llvm/include/llvm/module.modulemap

  Log Message:
  -----------
  Fix modules build after introduction of PassSupport.h include check

D78815 added a check that ensures that PassSupport.h and PassAnalysisSupport.h
aren't included directly. However, as compiling this header into a module will
try to parse it with a clean preprocessor state, this check is also triggered
there. The check seems to make sense and it seems that compiling this header
into its own module is a mistake, so this patch makes those two headers
textual in the modulemap.




More information about the All-commits mailing list