[all-commits] [llvm/llvm-project] 647070: [C++20] [Modules] [NFC] Add Preprocessor methods f...

Chuanqi Xu via All-commits all-commits at lists.llvm.org
Thu Feb 9 18:12:58 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6470706bc0ed2425704bc8c9e121a72e2d272616
      https://github.com/llvm/llvm-project/commit/6470706bc0ed2425704bc8c9e121a72e2d272616
  Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
  Date:   2023-02-10 (Fri, 10 Feb 2023)

  Changed paths:
    M clang/include/clang/Lex/Preprocessor.h
    M clang/lib/Lex/Preprocessor.cpp
    M clang/unittests/Lex/CMakeLists.txt
    A clang/unittests/Lex/ModuleDeclStateTest.cpp

  Log Message:
  -----------
  [C++20] [Modules] [NFC] Add Preprocessor methods for named modules - for ClangScanDeps (1/4)

This patch prepares the necessary interfaces in the preprocessor part
for D137527 since we need to recognize if we're in a module unit, the
module kinds and the module declaration and the module we're importing
in the preprocessor.

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




More information about the All-commits mailing list