[all-commits] [llvm/llvm-project] 00b72f: [Remarks] Escape control characters in multi-line ...
Henrich Lauko via All-commits
all-commits at lists.llvm.org
Wed Sep 30 03:46:58 PDT 2026
Branch: refs/heads/users/xlauko/yaml-remark-block-control-chars
Home: https://github.com/llvm/llvm-project
Commit: 00b72f10da9012ea5c8adfa7b8da89bb4e87939f
https://github.com/llvm/llvm-project/commit/00b72f10da9012ea5c8adfa7b8da89bb4e87939f
Author: Henrich Lauko <hlauko at nvidia.com>
Date: 2026-09-30 (Wed, 30 Sep 2026)
Changed paths:
M llvm/lib/Remarks/YAMLRemarkSerializer.cpp
M llvm/unittests/Remarks/YAMLRemarksSerializerTest.cpp
Log Message:
-----------
[Remarks] Escape control characters in multi-line YAML remark arguments
Argument values with more than one newline are written as YAML literal
block scalars. A block scalar has no escapes, so a value that also
contains a control character (other than tab and newline) was written
with the raw byte, which strict YAML readers reject. Use the
double-quoted form for such values instead.
Assisted-by: Claude
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