reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
130 Value &operator[](ObjectKey &&K);
322 if (!parseValue(O[std::move(K)]))
lib/TableGen/JSONBackend.cpp77 obj["printable"] = I.getAsString(); 80 obj["kind"] = "def"; 81 obj["def"] = Def->getDef()->getName(); 84 obj["kind"] = "var"; 85 obj["var"] = Var->getName(); 89 obj["kind"] = "varbit"; 90 obj["var"] = Var->getName(); 91 obj["index"] = VarBit->getBitNum(); 95 obj["kind"] = "dag"; 96 obj["operator"] = translateInit(*Dag->getOperator()); 98 obj["name"] = name->getAsUnquotedString(); 109 obj["args"] = std::move(args); 118 obj["kind"] = "complex"; 125 root["!tablegen_json_version"] = 1; 152 obj[Name] = translateInit(*RV.getValue()); 156 obj["!fields"] = std::move(fields); 161 obj["!superclasses"] = std::move(superclasses); 163 obj["!name"] = Name; 164 obj["!anonymous"] = Def.isAnonymous(); 166 root[Name] = std::move(obj); 178 instanceof[kv.first] = std::move(kv.second); 179 root["!instanceof"] = std::move(instanceof);tools/clang/lib/AST/JSONNodeDumper.cpp
273 Ret["desugaredQualType"] = QualType::getAsString(DSQT, PrintPolicy); 275 Ret["typeAliasDeclId"] = createPointerRepresentation(TT->getDecl()); 297 Ret["kind"] = (llvm::Twine(D->getDeclKindName()) + "Decl").str(); 299 Ret["name"] = ND->getDeclName().getAsString(); 301 Ret["type"] = createQualType(VD->getType()); 317 Val["isVirtual"] = true; 330 FIELD2("exists", hasDefaultConstructor); 331 FIELD2("trivial", hasTrivialDefaultConstructor); 332 FIELD2("nonTrivial", hasNonTrivialDefaultConstructor); 333 FIELD2("userProvided", hasUserProvidedDefaultConstructor); 334 FIELD2("isConstexpr", hasConstexprDefaultConstructor); 335 FIELD2("needsImplicit", needsImplicitDefaultConstructor); 336 FIELD2("defaultedIsConstexpr", defaultedDefaultConstructorIsConstexpr); 345 FIELD2("simple", hasSimpleCopyConstructor); 346 FIELD2("trivial", hasTrivialCopyConstructor); 347 FIELD2("nonTrivial", hasNonTrivialCopyConstructor); 348 FIELD2("userDeclared", hasUserDeclaredCopyConstructor); 349 FIELD2("hasConstParam", hasCopyConstructorWithConstParam); 350 FIELD2("implicitHasConstParam", implicitCopyConstructorHasConstParam); 351 FIELD2("needsImplicit", needsImplicitCopyConstructor); 352 FIELD2("needsOverloadResolution", needsOverloadResolutionForCopyConstructor); 354 FIELD2("defaultedIsDeleted", defaultedCopyConstructorIsDeleted); 363 FIELD2("exists", hasMoveConstructor); 364 FIELD2("simple", hasSimpleMoveConstructor); 365 FIELD2("trivial", hasTrivialMoveConstructor); 366 FIELD2("nonTrivial", hasNonTrivialMoveConstructor); 367 FIELD2("userDeclared", hasUserDeclaredMoveConstructor); 368 FIELD2("needsImplicit", needsImplicitMoveConstructor); 369 FIELD2("needsOverloadResolution", needsOverloadResolutionForMoveConstructor); 371 FIELD2("defaultedIsDeleted", defaultedMoveConstructorIsDeleted); 380 FIELD2("trivial", hasTrivialCopyAssignment); 381 FIELD2("nonTrivial", hasNonTrivialCopyAssignment); 382 FIELD2("hasConstParam", hasCopyAssignmentWithConstParam); 383 FIELD2("implicitHasConstParam", implicitCopyAssignmentHasConstParam); 384 FIELD2("userDeclared", hasUserDeclaredCopyAssignment); 385 FIELD2("needsImplicit", needsImplicitCopyAssignment); 386 FIELD2("needsOverloadResolution", needsOverloadResolutionForCopyAssignment); 395 FIELD2("exists", hasMoveAssignment); 396 FIELD2("simple", hasSimpleMoveAssignment); 397 FIELD2("trivial", hasTrivialMoveAssignment); 398 FIELD2("nonTrivial", hasNonTrivialMoveAssignment); 399 FIELD2("userDeclared", hasUserDeclaredMoveAssignment); 400 FIELD2("needsImplicit", needsImplicitMoveAssignment); 401 FIELD2("needsOverloadResolution", needsOverloadResolutionForMoveAssignment); 410 FIELD2("simple", hasSimpleDestructor); 411 FIELD2("irrelevant", hasIrrelevantDestructor); 412 FIELD2("trivial", hasTrivialDestructor); 413 FIELD2("nonTrivial", hasNonTrivialDestructor); 414 FIELD2("userDeclared", hasUserDeclaredDestructor); 415 FIELD2("needsImplicit", needsImplicitDestructor); 416 FIELD2("needsOverloadResolution", needsOverloadResolutionForDestructor); 418 FIELD2("defaultedIsDeleted", defaultedDestructorIsDeleted); 428 FIELD1(isGenericLambda); 429 FIELD1(isLambda); 430 FIELD1(isEmpty); 431 FIELD1(isAggregate); 432 FIELD1(isStandardLayout); 433 FIELD1(isTriviallyCopyable); 434 FIELD1(isPOD); 435 FIELD1(isTrivial); 436 FIELD1(isPolymorphic); 437 FIELD1(isAbstract); 438 FIELD1(isLiteral); 439 FIELD1(canPassInRegisters); 440 FIELD1(hasUserDeclaredConstructor); 441 FIELD1(hasConstexprNonCopyMoveConstructor); 442 FIELD1(hasMutableFields); 443 FIELD1(hasVariantMembers); 444 FIELD2("canConstDefaultInit", allowConstDefaultInit); 446 Ret["defaultCtor"] = createDefaultConstructorDefinitionData(RD); 447 Ret["copyCtor"] = createCopyConstructorDefinitionData(RD); 448 Ret["moveCtor"] = createMoveConstructorDefinitionData(RD); 449 Ret["copyAssign"] = createCopyAssignmentDefinitionData(RD); 450 Ret["moveAssign"] = createMoveAssignmentDefinitionData(RD); 451 Ret["dtor"] = createDestructorDefinitionData(RD); 473 Ret["type"] = createQualType(BS.getType()); 474 Ret["access"] = createAccessSpecifier(BS.getAccessSpecifier()); 475 Ret["writtenAccess"] = 478 Ret["isVirtual"] = true; 480 Ret["isPackExpansion"] = true;tools/clang/lib/StaticAnalyzer/Core/SarifDiagnostics.cpp
151 Region["endColumn"] = SM.getExpansionColumnNumber(R.getBegin()); 153 Region["endLine"] = SM.getExpansionLineNumber(R.getEnd()); 154 Region["endColumn"] = SM.getExpansionColumnNumber(R.getEnd()) + 1; 291 Ret["helpUri"] = RuleURI;tools/clang/tools/extra/clangd/ClangdLSPServer.cpp
359 (*TraceArgs)["Reply"] = *Reply; 366 (*TraceArgs)["Error"] = llvm::to_string(Err); 581 Result["offsetEncoding"] = *NegotiatedOffsetEncoding;tools/clang/tools/extra/clangd/Protocol.cpp
463 Diag["category"] = *D.category; 465 Diag["codeActions"] = D.codeActions; 467 Diag["code"] = D.code; 469 Diag["source"] = D.source; 471 Diag["relatedInformation"] = *D.relatedInformation; 571 Result["name"] = P.name; 574 Result["containerName"] = P.containerName; 577 Result["usr"] = P.USR; 580 Result["id"] = P.ID.getValue().str(); 606 Cmd["arguments"] = {*C.workspaceEdit}; 608 Cmd["arguments"] = {*C.tweakArgs}; 619 CodeAction["kind"] = *CA.kind; 621 CodeAction["diagnostics"] = llvm::json::Array(*CA.diagnostics); 623 CodeAction["edit"] = *CA.edit; 625 CodeAction["command"] = *CA.command; 640 Result["detail"] = S.detail; 642 Result["children"] = S.children; 644 Result["deprecated"] = true; 654 FileChanges[Change.first] = llvm::json::Array(Change.second); 756 Result["range"] = toJSON(*H.range); 810 Result["kind"] = static_cast<int>(CI.kind); 812 Result["detail"] = CI.detail; 814 Result["documentation"] = CI.documentation; 816 Result["sortText"] = CI.sortText; 818 Result["filterText"] = CI.filterText; 820 Result["insertText"] = CI.insertText; 822 Result["insertTextFormat"] = static_cast<int>(CI.insertTextFormat); 824 Result["textEdit"] = *CI.textEdit; 826 Result["additionalTextEdits"] = llvm::json::Array(CI.additionalTextEdits); 828 Result["deprecated"] = CI.deprecated; 854 Result["label"] = 857 Result["label"] = PI.labelString; 859 Result["documentation"] = PI.documentation; 870 Result["documentation"] = SI.documentation; 986 Result["detail"] = I.detail; 988 Result["deprecated"] = I.deprecated; 990 Result["parents"] = I.parents; 992 Result["children"] = I.children; 994 Result["data"] = I.data;tools/clang/tools/extra/clangd/Trace.cpp
75 Contents["ts"] = Timestamp ? Timestamp : timestamp(); 76 Contents["tid"] = int64_t(TID);tools/lldb/tools/lldb-vscode/lldb-vscode.cpp
529 response["success"] = llvm::json::Value(false); 581 response["success"] = llvm::json::Value(false); 818 response["success"] = llvm::json::Value(false); 948 response["success"] = llvm::json::Value(false); 1223 response["success"] = llvm::json::Value(false); 1273 response["success"] = llvm::json::Value(false); 1333 response["success"] = llvm::json::Value(false); 1928 response["success"] = llvm::json::Value(false); 2085 response["success"] = llvm::json::Value(false); 2137 response["success"] = llvm::json::Value(false); 2190 response["success"] = llvm::json::Value(false); 2382 response["success"] = llvm::json::Value(success);tools/llvm-cov/CoverageExporterJson.cpp
142 File["segments"] = renderFileSegments(FileCoverage, FileReport); 144 File["expansions"] = renderFileExpansions(FileCoverage, FileReport); 147 File["summary"] = renderSummary(FileReport); 222 Export["functions"] = renderFunctions(Coverage.getCoveredFunctions());tools/polly/lib/Exchange/JSONExporter.cpp
108 Array["name"] = SAI->getName(); 119 Array["sizes"] = std::move(Sizes); 121 Array["type"] = RawStringOstream.str(); 139 root["name"] = S.getNameStr(); 140 root["context"] = S.getContextStr(); 142 root["location"] = Location; 144 root["arrays"] = exportArrays(S); 146 root["statements"]; 152 statement["name"] = Stmt.getBaseName(); 153 statement["domain"] = Stmt.getDomainStr(); 154 statement["schedule"] = Stmt.getScheduleStr(); 160 access["kind"] = MA->isRead() ? "read" : "write"; 161 access["relation"] = MA->getAccessRelationStr(); 165 statement["accesses"] = std::move(Accesses); 170 root["statements"] = std::move(Statements);