[all-commits] [llvm/llvm-project] ab0116: [Clang] Improve error message for violations of -f...

James Y Knight via All-commits all-commits at lists.llvm.org
Tue Jan 31 06:57:37 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ab0116e2f05c6156c4bc3d35986de1e98cc27016
      https://github.com/llvm/llvm-project/commit/ab0116e2f05c6156c4bc3d35986de1e98cc27016
  Author: James Y Knight <jyknight at google.com>
  Date:   2023-01-31 (Tue, 31 Jan 2023)

  Changed paths:
    M clang/include/clang/Basic/DiagnosticLexKinds.td
    M clang/lib/Lex/ModuleMap.cpp
    M clang/test/Modules/Inputs/declare-use/h.h
    M clang/test/Modules/declare-use-textual.cpp
    M clang/test/Modules/declare-use1.cpp
    M clang/test/Modules/declare-use2.cpp
    M clang/test/Modules/declare-use3.cpp
    M clang/test/Modules/strict-decluse.cpp
    M clang/test/Modules/string_names.cpp
    M clang/test/Modules/textual-headers.cpp

  Log Message:
  -----------
  [Clang] Improve error message for violations of -fmodules-decluse.

Now it reports the name of the indirectly-used module which is
missing.

Reviewed By: ChuanqiXu

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




More information about the All-commits mailing list