[all-commits] [llvm/llvm-project] 98f1ae: [clang] Fix assertion with invalid embed limit par...

Mariya Podchishchaeva via All-commits all-commits at lists.llvm.org
Thu Sep 11 01:50:05 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 98f1ae057b8b829bdc18fba4b5209b5aceb5cf80
      https://github.com/llvm/llvm-project/commit/98f1ae057b8b829bdc18fba4b5209b5aceb5cf80
  Author: Mariya Podchishchaeva <mariya.podchishchaeva at intel.com>
  Date:   2025-09-11 (Thu, 11 Sep 2025)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/Lex/PPDirectives.cpp
    M clang/test/Preprocessor/embed___has_embed_parsing_errors.c

  Log Message:
  -----------
  [clang] Fix assertion with invalid embed limit parameter value (#157896)

If a negative value was given we would fail to skip till the end of the
directive and trip a failed assertion.

Fixes https://github.com/llvm/llvm-project/issues/157842



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