hanchenye-llvm-project/llvm/unittests
Haojian Wu 0bbe66e7ac [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
2018-01-22 10:20:48 +00:00
..
ADT [ADT] Just give up on GCC, I can't fix this. 2018-01-18 16:23:40 +00:00
Analysis [SCEV] Do not cache S -> V if S is not equivalent of V 2018-01-09 06:47:14 +00:00
AsmParser
BinaryFormat [BinaryFormat] Fix out of bounds read. 2017-08-31 12:50:42 +00:00
Bitcode Remove redundant includes from unittests. 2017-12-13 21:31:05 +00:00
CodeGen [CodeGen] Unify printing format of debug-location in both MIR and -debug 2018-01-19 11:44:42 +00:00
DebugInfo [MSF] Fix FPM interval calcluation 2018-01-05 18:12:14 +00:00
ExecutionEngine [ORC] Add orc::SymbolResolver, a Orc/Legacy API interop header, and an 2018-01-22 03:00:31 +00:00
FuzzMutate [FuzzMutate] Avoid using swifterror as a source operand 2018-01-11 14:43:05 +00:00
IR [Dominators] Remove misleading double-deletion test 2018-01-21 03:07:16 +00:00
LineEditor
Linker Fix build for LLVM unittests 2017-09-15 21:12:13 +00:00
MC Move Object format code to lib/BinaryFormat. 2017-06-07 03:48:56 +00:00
MI Remove redundant includes from unittests. 2017-12-13 21:31:05 +00:00
Object
ObjectYAML
Option [Option] For typo '-foo', suggest '--foo' 2018-01-09 19:38:04 +00:00
ProfileData Remove redundant includes from unittests. 2017-12-13 21:31:05 +00:00
Support [YAML] Plain scalars can not begin with most indicators. 2018-01-22 10:20:48 +00:00
Target Reapply "[GlobalISel] Remove the GISelAccessor API." 2017-08-15 22:31:51 +00:00
Transforms Add tests for ConstantFoldTerminator preserving DomTree 2018-01-17 16:27:17 +00:00
XRay
tools [CMake] Use PRIVATE in target_link_libraries for executables 2017-12-05 21:49:56 +00:00
CMakeLists.txt Reland 'Classify llvm-cfi-verify.' 2017-10-11 20:35:01 +00:00