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.
Paths
| Differential D42362
[YAML] Plain scalars can not begin with most indicators. ClosedPublic Authored by hokein on Jan 22 2018, 1:33 AM.
Details Summary Discovered when clangd loads YAML symbols, some symbol documentations For these kind of strings, we need quotes.
Diff Detail
Event TimelineHerald added subscribers: llvm-commits, ioeric, ilya-biryukov. · View Herald TranscriptJan 22 2018, 1:33 AM This revision is now accepted and ready to land.Jan 22 2018, 1:42 AM Closed by commit rL323097: [YAML] Plain scalars can not begin with most indicators. (authored by hokein). · Explain WhyJan 22 2018, 2:22 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 130855 llvm/trunk/include/llvm/Support/YAMLTraits.h
llvm/trunk/unittests/Support/YAMLIOTest.cpp
|