Lines Matching refs:StringRef
31 static raw_ostream &write_cstring(raw_ostream &OS, llvm::StringRef Str) {
40 std::vector<StringRef> Prefixes = R.getValueAsListOfStrings("Prefixes");
41 StringRef Name = R.getValueAsString("Name");
58 write_cstring(OS, StringRef(getOptionSpelling(R, PrefixLength)));
67 StringRef KeyPath;
68 StringRef DefaultValue;
69 StringRef NormalizedValuesScope;
72 write_cstring(OS, StringRef(getOptionSpelling(R)));
83 virtual Optional<StringRef> emitValueTable(raw_ostream &OS) const {
93 StringRef NormalizedValue) const {
123 StringRef NormalizerRetTy;
124 StringRef Normalizer;
125 StringRef Denormalizer;
127 std::vector<StringRef> Values;
128 std::vector<StringRef> NormalizedValues;
156 Optional<StringRef> emitValueTable(raw_ostream &OS) const override {
169 return StringRef(ValueTableName);
190 StringRef ValuesStr = R.getValueAsString("Values");
193 if (Idx == StringRef::npos)
197 ValuesStr = ValuesStr.slice(Idx + 1, StringRef::npos);
227 StringRef MarshallingKindStr = R.getValueAsString("MarshallingKind");
263 std::vector<StringRef> prf = R.getValueAsListOfStrings("Prefixes");
347 std::vector<StringRef> prf = R.getValueAsListOfStrings("Prefixes");
380 std::vector<StringRef> AliasArgs = R.getValueAsListOfStrings("AliasArgs");
457 std::vector<StringRef> ValueTableNames;
486 for (StringRef Prefix : R.getValueAsListOfStrings("Prefixes")) {