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 130842 include/llvm/Support/YAMLTraits.h
unittests/Support/YAMLIOTest.cpp
|
Up to you, but I'd leave this comment out, or rephrase as a non-fixme - there's nothing *wrong* with the new behavior.