[all-commits] [llvm/llvm-project] cde90e: [clang][deps] Respect `Lexer::cutOffLexing()` (#13...

Jan Svoboda via All-commits all-commits at lists.llvm.org
Fri Apr 4 10:21:55 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cde90e68f8123e7abef3f9e18d79980aa19f460a
      https://github.com/llvm/llvm-project/commit/cde90e68f8123e7abef3f9e18d79980aa19f460a
  Author: Jan Svoboda <jan_svoboda at apple.com>
  Date:   2025-04-04 (Fri, 04 Apr 2025)

  Changed paths:
    M clang/lib/Lex/Lexer.cpp
    A clang/test/ClangScanDeps/modules-relocated-mm-macro.c

  Log Message:
  -----------
  [clang][deps] Respect `Lexer::cutOffLexing()` (#134404)

This is crucial when recovering from fatal loader errors. Without it,
the `Lexer` keeps yielding more tokens and the compiler may access
invalid `ASTReader` state.

rdar://133388373



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