[all-commits] [llvm/llvm-project] 1e4478: Move "clang/Basic/TokenKinds.h" into a separate to...

Volodymyr Sapsai via All-commits all-commits at lists.llvm.org
Fri Jul 22 16:26:52 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1e4478bbea727dbbffb1023eedfc24eae7185782
      https://github.com/llvm/llvm-project/commit/1e4478bbea727dbbffb1023eedfc24eae7185782
  Author: Volodymyr Sapsai <vsapsai at apple.com>
  Date:   2022-07-22 (Fri, 22 Jul 2022)

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

  Log Message:
  -----------
  Move "clang/Basic/TokenKinds.h" into a separate top-level module.

Fixes modular build for clangPseudoGrammar from clang-tools-extra.

Starting from https://reviews.llvm.org/D126731 clangPseudoGrammar
doesn't depend on generated .inc headers but still depends on
"Basic/TokenKinds.h". It means clangPseudoGrammar depends on module
'Clang_Basic' which does depend on generated .inc headers. To avoid
these coarse dependencies and extra build steps, extract
"clang/Basic/TokenKinds.h" into a top-level module 'Clang_Basic_TokenKinds'.

rdar://97387951

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




More information about the All-commits mailing list