diff options
author | Rui Ueyama <ruiu@google.com> | 2013-09-11 00:45:48 +0000 |
---|---|---|
committer | Rui Ueyama <ruiu@google.com> | 2013-09-11 00:45:48 +0000 |
commit | 7eb8b0fd84474f6a77ffa6211c0c753ed3142277 (patch) | |
tree | a2a49ebbcc7613248cef49b5d978dae7bf59cd8a /runtime | |
parent | f532d448307215c9ddc1dbdea42afa74757c5e00 (diff) | |
download | external_llvm-7eb8b0fd84474f6a77ffa6211c0c753ed3142277.zip external_llvm-7eb8b0fd84474f6a77ffa6211c0c753ed3142277.tar.gz external_llvm-7eb8b0fd84474f6a77ffa6211c0c753ed3142277.tar.bz2 |
YAMLIO: Fix string quoting logic.
YAMLIO printed a string as is without quotes unless it contains a newline
character. That did not suffice. We also need to quote a string if it starts
with a backquote, quote, double quote or atsign, or it's the empty string.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190469 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'runtime')
0 files changed, 0 insertions, 0 deletions