summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/CodeCompleteConsumer.cpp
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2013-09-11 00:45:48 +0000
committerRui Ueyama <ruiu@google.com>2013-09-11 00:45:48 +0000
commit9a40ae8935a163c632d2669093e554465927cb8a (patch)
treec70247359456c42e7ce6f95f276844daf45854c5 /clang/lib/Sema/CodeCompleteConsumer.cpp
parentd99f387f5e8a219f215e5e7a49b6030b5a307e5b (diff)
downloadbcm5719-llvm-9a40ae8935a163c632d2669093e554465927cb8a.tar.gz
bcm5719-llvm-9a40ae8935a163c632d2669093e554465927cb8a.zip
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. llvm-svn: 190469
Diffstat (limited to 'clang/lib/Sema/CodeCompleteConsumer.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud