[all-commits] [llvm/llvm-project] 8e06e0: [clang] Fix preprocessor output from #embed (#126742)

Mariya Podchishchaeva via All-commits all-commits at lists.llvm.org
Fri Feb 21 10:40:47 PST 2025


  Branch: refs/heads/release/20.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 8e06e0e65ffa7e5e87ba2c0b48f7bcd9b1cf1600
      https://github.com/llvm/llvm-project/commit/8e06e0e65ffa7e5e87ba2c0b48f7bcd9b1cf1600
  Author: Mariya Podchishchaeva <mariya.podchishchaeva at intel.com>
  Date:   2025-02-21 (Fri, 21 Feb 2025)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/Frontend/PrintPreprocessedOutput.cpp
    M clang/test/Preprocessor/embed_preprocess_to_file.c

  Log Message:
  -----------
  [clang] Fix preprocessor output from #embed (#126742)

When bytes with negative signed char values appear in the data, make
sure to use raw bytes from the data string when preprocessing, not char
values.

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



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