Home
last modified time | relevance | path

Searched refs:QuotingType (Results 1 – 19 of 19) sorted by relevance

/freebsd-12.1/contrib/llvm/include/llvm/Support/
H A DYAMLTraits.h131 enum class QuotingType { None, Single, Double }; enum
653 inline QuotingType needsQuotes(StringRef S) {
655 return QuotingType::Single;
657 return QuotingType::Single;
659 return QuotingType::Single;
661 return QuotingType::Single;
663 return QuotingType::Single;
1630 static QuotingType mustQuote(StringRef) { return QuotingType::None; }
1637 static QuotingType mustQuote(StringRef) { return QuotingType::None; }
1644 static QuotingType mustQuote(StringRef) { return QuotingType::None; }
[all …]
/freebsd-12.1/contrib/llvm/lib/TextAPI/ELF/
H A DTBEHandler.cpp70 static QuotingType mustQuote(StringRef) { return QuotingType::None; } in mustQuote()
92 static QuotingType mustQuote(StringRef) { return QuotingType::None; } in mustQuote()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/Process/gdb-remote/
H A DGDBRemoteCommunicationHistory.h137 static QuotingType mustQuote(StringRef S) { return QuotingType::None; } in LLVM_YAML_IS_DOCUMENT_LIST_VECTOR()
/freebsd-12.1/contrib/llvm/lib/Support/
H A DYAMLTraits.cpp334 void Input::scalarString(StringRef &S, QuotingType) { in scalarString() argument
342 void Input::blockScalarString(StringRef &S) { scalarString(S, QuotingType::None); } in blockScalarString()
650 void Output::scalarString(StringRef &S, QuotingType MustQuote) { in scalarString()
658 if (MustQuote == QuotingType::None) { in scalarString()
669 const char *const Quote = MustQuote == QuotingType::Single ? "'" : "\""; in scalarString()
675 if (MustQuote == QuotingType::Double) { in scalarString()
H A DStatistic.cpp214 assert(yaml::needsQuotes(Stat->getDebugType()) == yaml::QuotingType::None && in PrintStatisticsJSON()
216 assert(yaml::needsQuotes(Stat->getName()) == yaml::QuotingType::None && in PrintStatisticsJSON()
H A DTimer.cpp391 assert(yaml::needsQuotes(Name) == yaml::QuotingType::None && in printJSONValue()
393 assert(yaml::needsQuotes(R.Name) == yaml::QuotingType::None && in printJSONValue()
/freebsd-12.1/contrib/llvm/include/llvm/ObjectYAML/
H A DCodeViewYAMLTypeHashing.h59 LLVM_YAML_DECLARE_SCALAR_TRAITS(CodeViewYAML::GlobalHash, QuotingType::None)
H A DCodeViewYAMLTypes.h63 LLVM_YAML_DECLARE_SCALAR_TRAITS(codeview::GUID, QuotingType::Single)
H A DYAML.h110 static QuotingType mustQuote(StringRef S) { return needsQuotes(S); }
H A DMachOYAML.h264 static QuotingType mustQuote(StringRef S); in LLVM_YAML_IS_SEQUENCE_VECTOR()
274 static QuotingType mustQuote(StringRef S); in LLVM_YAML_IS_SEQUENCE_VECTOR()
/freebsd-12.1/contrib/llvm/tools/lld/lib/ReaderWriter/MachO/
H A DMachONormalizedFileYAML.cpp260 static QuotingType mustQuote(StringRef) { return QuotingType::None; } in mustQuote()
525 static QuotingType mustQuote(StringRef) { return QuotingType::None; } in mustQuote()
709 static QuotingType mustQuote(StringRef) { return QuotingType::None; } in mustQuote()
/freebsd-12.1/contrib/llvm/include/llvm/BinaryFormat/
H A DMsgPackTypes.h221 yaml::QuotingType mustQuoteYAML(StringRef ScalarStr) const;
344 static QuotingType mustQuote(const msgpack::ScalarNode &S, StringRef Str) {
/freebsd-12.1/contrib/llvm/include/llvm/CodeGen/
H A DMIRYamlMapping.h59 static QuotingType mustQuote(StringRef S) { return needsQuotes(S); }
76 static QuotingType mustQuote(StringRef S) { return needsQuotes(S); }
123 static QuotingType mustQuote(StringRef Scalar) {
/freebsd-12.1/contrib/llvm/tools/lld/lib/ReaderWriter/YAML/
H A DReaderWriterYAML.cpp283 static QuotingType mustQuote(StringRef) { return QuotingType::None; } in mustQuote()
498 static QuotingType mustQuote(StringRef) { return QuotingType::None; } in mustQuote()
555 static QuotingType mustQuote(StringRef) { return QuotingType::None; } in mustQuote()
/freebsd-12.1/contrib/llvm/lib/ObjectYAML/
H A DCodeViewYAMLSymbols.cpp46 LLVM_YAML_DECLARE_SCALAR_TRAITS(APSInt, QuotingType::None) in LLVM_YAML_IS_SEQUENCE_VECTOR()
47 LLVM_YAML_DECLARE_SCALAR_TRAITS(TypeIndex, QuotingType::None) in LLVM_YAML_IS_SEQUENCE_VECTOR()
66 LLVM_YAML_DECLARE_SCALAR_TRAITS(TypeName, QuotingType::Single) in LLVM_YAML_IS_SEQUENCE_VECTOR()
H A DMachOYAML.cpp55 QuotingType ScalarTraits<char_16>::mustQuote(StringRef S) { in mustQuote()
80 QuotingType ScalarTraits<uuid_t>::mustQuote(StringRef S) { in mustQuote()
H A DCodeViewYAMLTypes.cpp51 LLVM_YAML_DECLARE_SCALAR_TRAITS(TypeIndex, QuotingType::None)
52 LLVM_YAML_DECLARE_SCALAR_TRAITS(APSInt, QuotingType::None)
H A DCodeViewYAMLDebugSections.cpp69 LLVM_YAML_DECLARE_SCALAR_TRAITS(HexFormattedString, QuotingType::None)
/freebsd-12.1/contrib/llvm/lib/BinaryFormat/
H A DMsgPackTypes.cpp233 yaml::QuotingType ScalarNode::mustQuoteYAML(StringRef ScalarStr) const { in mustQuoteYAML()