reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

include/llvm/Support/JSON.h
  141   llvm::Optional<llvm::StringRef> getString(StringRef K) const;

References

tools/clang/lib/Driver/DarwinSDKInfo.cpp
   34     auto VersionString = Obj->getString("Version");
tools/clang/lib/StaticAnalyzer/Core/SarifDiagnostics.cpp
  129         Optional<StringRef> URI = FileLoc->getString("uri");
tools/clang/tools/extra/clangd/JSONTransport.cpp
   35   std::string Msg = O.getString("message").getValueOr("Unspecified error");
  136       Object->getString("jsonrpc") != llvm::Optional<llvm::StringRef>("2.0")) {
  144   auto Method = Object->getString("method");
tools/lldb/tools/lldb-vscode/JSONUtils.cpp
   41   if (auto value = obj.getString(key))
tools/llvm-cov/CoverageExporterJson.cpp
  214       const StringRef FilenameA = ObjA->getString("filename").getValue();
  215       const StringRef FilenameB = ObjB->getString("filename").getValue();
tools/polly/lib/Exchange/JSONExporter.cpp
  219       isl::set{S.getIslCtx().get(), JScop.getString("context").getValue()};
  289         statements[Index].getAsObject()->getString("schedule");
  397       StringRef Accesses = JsonMemoryAccess->getString("relation").getValue();
  568   if (SAI->getName() != Array.getString("name").getValue())
  584   if (RawStringOstream.str() != Array.getString("type").getValue()) {
  675         ElementType, Array.getString("name").getValue(), DimSizes);
  678       NewSAI->setIsOnHeap(Array.getString("allocation").getValue() == "heap");
unittests/Support/JSONTest.cpp
  243   EXPECT_EQ(O->getString("string"), llvm::Optional<llvm::StringRef>("json"));
  260       EXPECT_EQ(E.getAsObject()->getString("time"),