[all-commits] [llvm/llvm-project] 1c4e0f: [clang] Add #pragma clang __debug module_lookup (#...

Michael Spencer via All-commits all-commits at lists.llvm.org
Mon Mar 3 13:28:32 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1c4e0f6a54538972741ab1c7a5fcc5e5efd3d90c
      https://github.com/llvm/llvm-project/commit/1c4e0f6a54538972741ab1c7a5fcc5e5efd3d90c
  Author: Michael Spencer <bigcheesegs at gmail.com>
  Date:   2025-03-03 (Mon, 03 Mar 2025)

  Changed paths:
    M clang/include/clang/Basic/DiagnosticLexKinds.td
    M clang/lib/Lex/Pragma.cpp
    A clang/test/Modules/clang-pragmas.c

  Log Message:
  -----------
  [clang] Add #pragma clang __debug module_lookup (#129158)

This can be used to trigger implicit module map lookup without also
importing the module. This can be useful for debugging as it avoids
loading the module map from the AST file, which has slightly different
semantics.



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