Searched refs:fixUTF8 (Results 1 – 6 of 6) sorted by relevance
82 std::string fixUTF8(llvm::StringRef S);313 V = fixUTF8(std::move(V)); in Value()325 *this = Value(fixUTF8(V)); in Value()562 *Owned = fixUTF8(std::move(*Owned)); in ObjectKey()569 *this = ObjectKey(fixUTF8(S)); in ObjectKey()
93 Doc = llvm::json::fixUTF8(Doc); in getDeclComment()
271 std::string Truncated = fixUTF8(S.take_front(37)); in abbreviate()708 std::string fixUTF8(llvm::StringRef S) { in fixUTF8() function892 quote(OS, fixUTF8(Key)); in attributeBegin()
233 EXPECT_EQ(fixUTF8(Valid), Valid); in TEST()245 EXPECT_EQ(fixUTF8(Invalid.first), Invalid.second); in TEST()
29 obj.try_emplace(key, llvm::json::fixUTF8(str)); in EmplaceSafeString()
37 obj.try_emplace(key, llvm::json::fixUTF8(str)); in EmplaceSafeString()