diff options
author | Haojian Wu <hokein@google.com> | 2018-01-22 10:20:48 +0000 |
---|---|---|
committer | Haojian Wu <hokein@google.com> | 2018-01-22 10:20:48 +0000 |
commit | 0bbe66e7ac7544812eec34b511fa266d15693a6e (patch) | |
tree | 8c3d4770e39db71aa7b7da9675637929d29c75ab /llvm/lib/IR/ModuleSummaryIndex.cpp | |
parent | 77a21dbad46d07404f165c5a49c815c3d9b9eedd (diff) | |
download | llvm-0bbe66e7ac7544812eec34b511fa266d15693a6e.zip llvm-0bbe66e7ac7544812eec34b511fa266d15693a6e.tar.gz llvm-0bbe66e7ac7544812eec34b511fa266d15693a6e.tar.bz2 |
[YAML] Plain scalars can not begin with most indicators.
Summary:
Discovered when clangd loads YAML symbols, some symbol documentations
start with indicators (e.g. "-"), but YAML prints them as plain scalars
(no quotes), which make the YAML parser fail to parse.
For these kind of strings, we need quotes.
Reviewers: sammccall
Reviewed By: sammccall
Subscribers: ilya-biryukov, ioeric, llvm-commits, cfe-commits
Differential Revision: https://reviews.llvm.org/D42362
llvm-svn: 323097
Diffstat (limited to 'llvm/lib/IR/ModuleSummaryIndex.cpp')
0 files changed, 0 insertions, 0 deletions