|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
gen/tools/clang/include/clang/Serialization/AttrPCHRead.inc 92 New = new (Context) AbiTagAttr(Context, Info, tags.data(), tagsSize);
104 New = new (Context) AcquireCapabilityAttr(Context, Info, args.data(), argsSize);
117 New = new (Context) AcquiredAfterAttr(Context, Info, args.data(), argsSize);
130 New = new (Context) AcquiredBeforeAttr(Context, Info, args.data(), argsSize);
309 New = new (Context) AssertCapabilityAttr(Context, Info, args.data(), argsSize);
322 New = new (Context) AssertExclusiveLockAttr(Context, Info, args.data(), argsSize);
335 New = new (Context) AssertSharedLockAttr(Context, Info, args.data(), argsSize);
448 New = new (Context) CPUDispatchAttr(Context, Info, cpus.data(), cpusSize);
461 New = new (Context) CPUSpecificAttr(Context, Info, cpus.data(), cpusSize);
540 New = new (Context) CallableWhenAttr(Context, Info, callableStates.data(), callableStatesSize);
553 New = new (Context) CallbackAttr(Context, Info, encoding.data(), encodingSize);
791 New = new (Context) ExclusiveTrylockFunctionAttr(Context, Info, successValue, args.data(), argsSize);
1012 New = new (Context) LocksExcludedAttr(Context, Info, args.data(), argsSize);
1327 New = new (Context) NoSanitizeAttr(Context, Info, sanitizers.data(), sanitizersSize);
1388 New = new (Context) NonNullAttr(Context, Info, args.data(), argsSize);
1460 New = new (Context) OMPDeclareSimdDeclAttr(Context, Info, branchState, simdlen, uniforms.data(), uniformsSize, aligneds.data(), alignedsSize, alignments.data(), alignmentsSize, linears.data(), linearsSize, modifiers.data(), modifiersSize, steps.data(), stepsSize);
1460 New = new (Context) OMPDeclareSimdDeclAttr(Context, Info, branchState, simdlen, uniforms.data(), uniformsSize, aligneds.data(), alignedsSize, alignments.data(), alignmentsSize, linears.data(), linearsSize, modifiers.data(), modifiersSize, steps.data(), stepsSize);
1460 New = new (Context) OMPDeclareSimdDeclAttr(Context, Info, branchState, simdlen, uniforms.data(), uniformsSize, aligneds.data(), alignedsSize, alignments.data(), alignmentsSize, linears.data(), linearsSize, modifiers.data(), modifiersSize, steps.data(), stepsSize);
1460 New = new (Context) OMPDeclareSimdDeclAttr(Context, Info, branchState, simdlen, uniforms.data(), uniformsSize, aligneds.data(), alignedsSize, alignments.data(), alignmentsSize, linears.data(), linearsSize, modifiers.data(), modifiersSize, steps.data(), stepsSize);
1460 New = new (Context) OMPDeclareSimdDeclAttr(Context, Info, branchState, simdlen, uniforms.data(), uniformsSize, aligneds.data(), alignedsSize, alignments.data(), alignmentsSize, linears.data(), linearsSize, modifiers.data(), modifiersSize, steps.data(), stepsSize);
1460 New = new (Context) OMPDeclareSimdDeclAttr(Context, Info, branchState, simdlen, uniforms.data(), uniformsSize, aligneds.data(), alignedsSize, alignments.data(), alignmentsSize, linears.data(), linearsSize, modifiers.data(), modifiersSize, steps.data(), stepsSize);
1491 New = new (Context) OMPDeclareVariantAttr(Context, Info, variantFuncRef, score, ctxSelectorSet, ctxScore, ctxSelector, implVendors.data(), implVendorsSize);
1852 New = new (Context) OwnershipAttr(Context, Info, module, args.data(), argsSize);
2040 New = new (Context) ReleaseCapabilityAttr(Context, Info, args.data(), argsSize);
2070 New = new (Context) RequiresCapabilityAttr(Context, Info, args.data(), argsSize);
2167 New = new (Context) SharedTrylockFunctionAttr(Context, Info, successValue, args.data(), argsSize);
2199 New = new (Context) SuppressAttr(Context, Info, diagnosticIdentifiers.data(), diagnosticIdentifiersSize);
2309 New = new (Context) TryAcquireCapabilityAttr(Context, Info, successValue, args.data(), argsSize);
include/llvm/ADT/SmallString.h 272 return this->data();
include/llvm/ADT/Twine.h 459 return StringRef(Out.data(), Out.size());
include/llvm/Object/Decompressor.h 34 return decompress({Out.data(), (size_t)DecompressedSize});
include/llvm/Support/DataExtractor.h 304 getU8(C, Dst.data(), Count);
include/llvm/Support/raw_ostream.h 555 StringRef str() { return StringRef(OS.data(), OS.size()); }
lib/Analysis/ScalarEvolution.cpp 2577 Ops.data(), Ops.size(),
lib/AsmParser/LLParser.cpp 3120 memcpy(ID.ConstantStructElts.get(), Elts.data(),
3141 memcpy(ID.ConstantStructElts.get(), Elts.data(),
lib/Bitcode/Reader/BitcodeReader.cpp 2019 StringRef NameStr(ValueName.data(), ValueName.size());
2209 BB->setName(StringRef(ValueName.data(), ValueName.size()));
lib/Bitcode/Writer/BitcodeWriter.cpp 4407 {Symtab.data(), Symtab.size()});
lib/CodeGen/LiveInterval.cpp 1410 DistributeRange(SR, SubRanges.data(), VNIMapping);
lib/CodeGen/LiveIntervals.cpp 1666 ConEQ.Distribute(LI, SplitLIs.data(), *MRI);
lib/CodeGen/RenameIndependentSubregs.cpp 286 DistributeRange(SR, SubRanges.data(), VNIMapping);
lib/CodeGen/SelectionDAG/DAGCombiner.cpp 1903 DAG.ReplaceAllUsesWith(N, Ops.data());
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp 1241 ReplaceNode(Node, ResultVals.data());
3745 ReplaceNode(Node, Results.data());
4106 ReplaceNode(Node, Results.data());
4580 ReplaceNode(Node, Results.data());
lib/CodeGen/SelectionDAG/LegalizeTypesGeneric.cpp 360 DAG.getBuildVector(NVT, dl, makeArrayRef(Ops.data(), NumElts));
lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp 3015 makeArrayRef(ConcatOps.data(), NumOps));
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp 4083 makeArrayRef(Chains.data(), ChainI));
4115 makeArrayRef(Chains.data(), ChainI));
4245 makeArrayRef(Chains.data(), ChainI));
4261 makeArrayRef(Chains.data(), ChainI));
9846 SDValue Res = DAG.getMergeValues(makeArrayRef(ArgValues.data(), NumValues),
lib/DebugInfo/DWARF/DWARFAcceleratorTable.cpp 402 AS.getU8(Offset, reinterpret_cast<uint8_t *>(AugmentationString.data()),
lib/ExecutionEngine/Orc/ThreadSafeModule.cpp 52 StringRef(ClonedModuleBuffer.data(), ClonedModuleBuffer.size()),
lib/MC/ELFObjectWriter.cpp 895 StringRef(UncompressedData.data(), UncompressedData.size()),
lib/MC/MCDisassembler/Disassembler.cpp 289 std::memcpy(OutString, InsnStr.data(), OutputSize);
lib/MC/MCDwarf.cpp 318 LineStrings.write((uint8_t *)Data.data());
lib/MC/StringTableBuilder.cpp 58 write((uint8_t *)Data.data());
lib/MC/WinCOFFObjectWriter.cpp 456 std::memcpy(S.Header.Name, Buffer.data(), Buffer.size());
608 JC.update(makeArrayRef(reinterpret_cast<uint8_t*>(Buf.data()), Buf.size()));
lib/Object/IRSymtab.cpp 332 *reinterpret_cast<storage::Header *>(Symtab.data()) = Hdr;
370 StrtabBuilder.write((uint8_t *)FC.Strtab.data());
372 FC.TheReader = {{FC.Symtab.data(), FC.Symtab.size()},
373 {FC.Strtab.data(), FC.Strtab.size()}};
lib/Option/ArgList.cpp 51 Arg **ArgsBegin = Args.data();
lib/ProfileData/InstrProf.cpp 461 NameStrings = StringRef(UncompressedNameStrings.data(),
lib/Remarks/BitstreamRemarkSerializer.cpp 319 OS.write(Encoded.data(), Encoded.size());
324 return StringRef(Encoded.data(), Encoded.size());
lib/Remarks/YAMLRemarkSerializer.cpp 239 OS.write(FilenameBuf.data(), FilenameBuf.size());
lib/Support/FileCheck.cpp 925 return StringRef(OutputBuffer.data(), OutputBuffer.size() - 1);
lib/Support/Path.cpp 524 path.getSingleStringRef().data() != result.data()) &&
718 StringRef p(path.data(), path.size());
855 StringRef p(path.data(), path.size());
lib/Support/PrettyStackTrace.cpp 232 vsnprintf(Str.data(), Size, Format, AP);
lib/Support/Regex.cpp 100 int rc = llvm_regexec(preg, String.data(), nmatch, pm.data(), REG_STARTEND);
lib/Support/Twine.cpp 54 return StringRef(Out.data(), Out.size());
lib/Support/Unix/Path.inc 306 if (::getcwd(result.data(), result.capacity()) == nullptr) {
316 result.set_size(strlen(result.data()));
lib/Support/raw_ostream.cpp 333 size_t BytesUsed = Fmt.print(V.data(), NextBufferSize);
337 return write(V.data(), BytesUsed);
918 memcpy(OS.data() + Offset, Ptr, Size);
lib/Target/AArch64/AArch64ISelLowering.cpp 6885 makeArrayRef(TBLMask.data(), IndexLen)));
6893 makeArrayRef(TBLMask.data(), IndexLen)));
6905 makeArrayRef(TBLMask.data(), IndexLen)));
lib/Target/Hexagon/HexagonISelDAGToDAGHVX.cpp 1421 SDValue B0 = DAG.getBuildVector(SingleTy, dl, {Ops.data(), HwLen});
1423 SDValue B1 = DAG.getBuildVector(SingleTy, dl, {Ops.data()+HwLen, HwLen});
lib/Target/X86/X86ISelLowering.cpp13437 MutableArrayRef<int> LToLInputs(LoInputs.data(), NumLToL);
13438 MutableArrayRef<int> LToHInputs(HiInputs.data(), NumLToH);
13439 MutableArrayRef<int> HToLInputs(LoInputs.data() + NumLToL, NumHToL);
13440 MutableArrayRef<int> HToHInputs(HiInputs.data() + NumLToH, NumHToH);
32019 ArrayRef<int> LoMask(RepeatedMask.data() + 0, 4);
32020 ArrayRef<int> HiMask(RepeatedMask.data() + 4, 4);
32428 ArrayRef<int> HiMask(Mask.data() + Scale, NumMaskElts - Scale);
tools/clang/include/clang/AST/OptionalDiagnostic.h 44 *Diag << StringRef(Buffer.data(), Buffer.size());
61 *Diag << StringRef(Buffer.data(), Buffer.size());
70 *Diag << StringRef(Buffer.data(), Buffer.size());
tools/clang/include/clang/Lex/LiteralSupport.h 229 ResultPtr(ResultBuf.data()), hadError(false), Pascal(false) {
tools/clang/include/clang/Sema/Sema.h 8297 return Infos.data();
tools/clang/lib/ARCMigrate/ARCMT.cpp 608 StringRef(newText.data(), newText.size()), newFname));
tools/clang/lib/ARCMigrate/ObjCMT.cpp 1982 StringRef(newText.data(), newText.size()), file->getName()));
2224 TmpOut.write(NewText.data(), NewText.size());
tools/clang/lib/AST/ASTContext.cpp 8776 newParamInfos.empty() ? nullptr : newParamInfos.data();
tools/clang/lib/AST/ASTImporter.cpp 1884 ToCXX->setBases(Bases.data(), Bases.size());
2215 Name, DC, Decl::IDNS_Namespace, ConflictingDecls.data(),
2340 Name, DC, IDNS, ConflictingDecls.data(), ConflictingDecls.size());
2418 Name, DC, IDNS, ConflictingDecls.data(), ConflictingDecls.size());
2532 SearchName, DC, IDNS, ConflictingDecls.data(),
2668 SearchName, DC, IDNS, ConflictingDecls.data(),
2839 Name, DC, IDNS, ConflictingDecls.data(), ConflictingDecls.size());
3074 Name, DC, IDNS, ConflictingDecls.data(), ConflictingDecls.size());
3732 Name, DC, IDNS, ConflictingDecls.data(), ConflictingDecls.size());
4104 ToCategory->setProtocolList(Protocols.data(), Protocols.size(),
4105 ProtocolLocs.data(), Importer.getToContext());
4161 To->setProtocolList(Protocols.data(), Protocols.size(),
4162 ProtocolLocs.data(), Importer.getToContext());
4541 To->setProtocolList(Protocols.data(), Protocols.size(),
4542 ProtocolLocs.data(), Importer.getToContext());
5080 Name, DC, Decl::IDNS_Ordinary, ConflictingDecls.data(),
5242 llvm::makeArrayRef(TemplateArgs.data(), TemplateArgs.size()),
5365 Name, DC, Decl::IDNS_Ordinary, ConflictingDecls.data(),
5718 Names.data(),
5719 Constraints.data(),
5720 Exprs.data(),
5723 Clobbers.data(),
6406 *ToTypeOrErr, ToLocations.data(), ToLocations.size());
8709 return ToContext.Selectors.getSelector(FromSel.getNumArgs(), Idents.data());
tools/clang/lib/AST/DeclObjC.cpp 470 data().AllReferencedProtocols.set(ProtocolRefs.data(), ProtocolRefs.size(),C);
tools/clang/lib/AST/DeclPrinter.cpp 283 Decl::printGroup(Decls.data(), Decls.size(), Out, Policy, Indentation);
tools/clang/lib/AST/ExprConstant.cpp 5484 CallStackFrame Frame(Info, CallLoc, Callee, This, ArgValues.data());
5741 return HandleConstructorCall(E, This, ArgValues.data(), Definition,
14362 ArgValues.data());
14443 CallStackFrame Frame(Info, SourceLocation(), FD, nullptr, ArgValues.data());
tools/clang/lib/AST/ItaniumMangle.cpp 1043 Out.write(buffer.data(), numCharacters);
tools/clang/lib/AST/NSAPI.cpp 600 Sel = Ctx.Selectors.getSelector(Idents.size(), Idents.data());
tools/clang/lib/AST/StmtPrinter.cpp 192 Decl::printGroup(Decls.data(), Decls.size(), OS, Policy, IndentLevel);
tools/clang/lib/Basic/FileManager.cpp 422 StringRef pathRef(path.data(), path.size());
437 if (!llvm::sys::path::is_absolute(StringRef(Path.data(), Path.size()))) {
tools/clang/lib/CodeGen/BackendUtil.cpp 752 BackendArgs.data());
tools/clang/lib/CodeGen/CGObjCMac.cpp 5398 reinterpret_cast<char *>(buffer.data()), ObjCLabelType::ClassName);
tools/clang/lib/CodeGen/CodeGenModule.cpp 4610 StringRef(reinterpret_cast<const char *>(ToBuf.data()),
tools/clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp 276 *VMContext, StringRef(SerializedAST.data(), Size),
tools/clang/lib/Driver/Job.cpp 340 auto Args = llvm::toStringRefArray(Argv.data());
367 auto Args = llvm::toStringRefArray(Argv.data());
tools/clang/lib/Frontend/ASTUnit.cpp 2132 Next.ProcessCodeCompleteResults(S, Context, AllResults.data(),
2330 OS.write(Buffer.data(), Buffer.size());
tools/clang/lib/Frontend/ChainedIncludesSource.cpp 203 StringRef(serialAST.data(), serialAST.size())));
tools/clang/lib/Frontend/TextDiagnostic.cpp 793 Filename = StringRef(AbsoluteFilename.data(), AbsoluteFilename.size());
tools/clang/lib/Lex/Lexer.cpp 356 buffer.resize(getSpellingSlow(token, tokenBegin, options, buffer.data()));
357 return StringRef(buffer.data(), buffer.size());
tools/clang/lib/Lex/LiteralSupport.cpp 1459 ResultPtr(ResultBuf.data()), hadError(false), Pascal(false) {
1711 llvm::UTF32 *ResultWidePtr = reinterpret_cast<llvm::UTF32*>(ResultBuf.data());
1716 llvm::UTF16 *ResultWidePtr = reinterpret_cast<llvm::UTF16*>(ResultBuf.data());
1791 char *Ptr = Dummy.data();
tools/clang/lib/Lex/MacroArgs.cpp 250 const char *BufPtr = Result.data() + CurStrLen;
tools/clang/lib/Lex/ModuleMap.cpp 354 Name = StringRef(Buffer.data(), Buffer.size());
362 if (Name.data() != Buffer.data())
365 Name = StringRef(Buffer.data(), Buffer.size());
1581 const char *Start = SpellingBuffer.data();
tools/clang/lib/Lex/PPMacroExpansion.cpp 1041 prevLexer->Tokens = MacroExpandedTokens.data() + tokIndex;
1046 return MacroExpandedTokens.data() + newIndex;
tools/clang/lib/Lex/Preprocessor.cpp 474 const char *Ptr = Buffer.data();
tools/clang/lib/Lex/TokenLexer.cpp 781 BufPtr = Buffer.data() + LHSLen;
tools/clang/lib/Parse/ParseCXXInlineMethods.cpp 33 TemplateInfo.TemplateParams ? TemplateInfo.TemplateParams->data()
tools/clang/lib/Parse/ParseDecl.cpp 417 ArgExprs.data(), ArgExprs.size(), Syntax);
1484 AttrEnd.setEofData(LA.Toks.data());
2869 Attrs.addNew(KWName, KWLoc, nullptr, KWLoc, ArgExprs.data(), 1,
4521 TParams = MultiTemplateParamsArg(TemplateInfo.TemplateParams->data(),
6423 HasProto, IsAmbiguous, LParenLoc, ParamInfo.data(),
6427 ESpecType, ESpecRange, DynamicExceptions.data(),
6428 DynamicExceptionRanges.data(), DynamicExceptions.size(),
tools/clang/lib/Parse/ParseDeclCXX.cpp 848 TemplateParams ? TemplateParams->data() : nullptr,
2621 TemplateInfo.TemplateParams? TemplateInfo.TemplateParams->data()
4274 Toks[0].setLiteralData(StrBuffer.data());
4283 SourceLocation(), ArgExprs.data(), ArgExprs.size(),
tools/clang/lib/Parse/ParseExprCXX.cpp 1374 /*IsAmbiguous=*/false, LParenLoc, ParamInfo.data(),
1378 ESpecRange, DynamicExceptions.data(),
1379 DynamicExceptionRanges.data(), DynamicExceptions.size(),
3472 AttrEnd.setEofData(Toks.data());
tools/clang/lib/Parse/ParseObjc.cpp 159 return Actions.ActOnForwardClassDeclaration(atLoc, ClassNames.data(),
160 ClassLocs.data(),
287 ProtocolRefs.data(), ProtocolRefs.size(), ProtocolLocs.data(),
287 ProtocolRefs.data(), ProtocolRefs.size(), ProtocolLocs.data(),
358 SourceRange(typeArgsLAngleLoc, typeArgsRAngleLoc), protocols.data(),
359 protocols.size(), protocolLocs.data(), EndProtoLoc, attrs);
1383 selLoc, Sel, nullptr, CParamInfo.data(), CParamInfo.size(), methodAttrs,
1507 Sel, &ArgInfos[0], CParamInfo.data(), CParamInfo.size(), methodAttrs,
2078 AtLoc, protocolName, nameLoc, ProtocolRefs.data(), ProtocolRefs.size(),
2079 ProtocolLocs.data(), EndProtoLoc, attrs);
3337 return Actions.ParseObjCStringLiteral(AtLocs.data(), AtStrings);
tools/clang/lib/Parse/ParseStmtAsm.cpp 861 AsmLoc, false, isVolatile, NumOutputs, NumInputs, Names.data(),
tools/clang/lib/Parse/ParseTemplate.cpp 1431 return getTemplateParamsRange(TemplateParams->data(),
tools/clang/lib/Sema/CodeCompleteConsumer.cpp 425 Chunks.data(), Chunks.size(), Priority, Availability, Annotations.data(),
425 Chunks.data(), Chunks.size(), Priority, Availability, Annotations.data(),
tools/clang/lib/Sema/SemaDecl.cpp13647 ReturnStmt **Returns = Scope->Returns.data();
14253 Context, Encoding.data(), Encoding.size(), FD->getLocation()));
16792 reinterpret_cast<ObjCIvarDecl**>(RecFields.data());
tools/clang/lib/Sema/SemaDeclAttr.cpp 923 S.Context, AL, AL.getArgAsExpr(0), Args.data(), Args.size()));
933 S.Context, AL, AL.getArgAsExpr(0), Args.data(), Args.size()));
1172 CallableWhenAttr(S.Context, AL, States.data(), States.size()));
1484 ParamIdx *Start = NonNullArgs.data();
1732 ParamIdx *Start = OwnershipArgs.data();
1925 CPUSpecificAttr(S.Context, AL, CPUs.data(), CPUs.size()));
1928 CPUDispatchAttr(S.Context, AL, CPUs.data(), CPUs.size()));
3480 S.Context, AL, EncodingIndices.data(), EncodingIndices.size()));
5428 AbiTagAttr(S.Context, AL, Tags.data(), Tags.size()));
6071 AssertCapabilityAttr(S.Context, AL, Args.data(), Args.size()));
6080 D->addAttr(::new (S.Context) AcquireCapabilityAttr(S.Context, AL, Args.data(),
6091 S.Context, AL, AL.getArgAsExpr(0), Args.data(), Args.size()));
6100 D->addAttr(::new (S.Context) ReleaseCapabilityAttr(S.Context, AL, Args.data(),
6116 RequiresCapabilityAttr(S.Context, AL, Args.data(), Args.size());
tools/clang/lib/Sema/SemaDeclCXX.cpp 5106 memcpy(baseOrMemberInitializers, Info.AllToInit.data(),
13670 llvm::makeArrayRef(AllArgs.data(), AllArgs.size()),
15837 AllToInit.data(), AllToInit.size());
tools/clang/lib/Sema/SemaExpr.cpp 3356 << StringRef(buffer.data(), buffer.size());
tools/clang/lib/Sema/SemaOpenMP.cpp 4949 const_cast<Expr **>(NewAligns.data()), NewAligns.size(),
4952 NewSteps.data(), NewSteps.size(), SR);
tools/clang/lib/Sema/SemaOverload.cpp 1553 NewParamInfos.empty() ? nullptr : NewParamInfos.data();
tools/clang/lib/Sema/SemaTemplateDeduction.cpp 2777 TemplateArgument InstArg = ConvertedInstArgs.data()[I];
4781 if (DeduceTemplateArguments(S, TemplateParams, Args2.data(), Args2.size(),
4782 Args1.data(), Args1.size(), Info, Deduced,
tools/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp 2228 llvm::makeArrayRef(TempParamLists.data(), NumTempParamLists));
3271 if (SemaRef.Subst(ArgLocs.data(), ArgLocs.size(),
tools/clang/lib/Sema/SemaType.cpp 4889 EPI.ExtParameterInfos = ExtParameterInfos.data();
tools/clang/lib/Sema/TreeTransform.h 7138 S->getNumInputs(), Names.data(),
12319 Elements.data(),
tools/clang/lib/Serialization/ASTReader.cpp 846 return SelTable.getSelector(N, Args.data());
6536 EPI.ExtParameterInfos = ExtParameterInfos.data();
tools/clang/lib/Serialization/ASTReaderDecl.cpp 1109 Data.ReferencedProtocols.set(Protocols.data(), NumProtocols, ProtoLocs.data(),
1109 Data.ReferencedProtocols.set(Protocols.data(), NumProtocols, ProtoLocs.data(),
1118 Data.AllReferencedProtocols.set(Protocols.data(), NumProtocols,
1184 Data.ReferencedProtocols.set(ProtoRefs.data(), NumProtoRefs,
1185 ProtoLocs.data(), Reader.getContext());
1248 CD->setProtocolList(ProtoRefs.data(), NumProtoRefs, ProtoLocs.data(),
1248 CD->setProtocolList(ProtoRefs.data(), NumProtoRefs, ProtoLocs.data(),
1254 (ObjCProtocolDecl *const *)ProtoRefs.data(), NumProtoRefs,
tools/clang/lib/Serialization/ASTReaderStmt.cpp 356 Decls.data(),
402 Names.data(), Constraints.data(),
402 Names.data(), Constraints.data(),
403 Exprs.data(), NumOutputs, NumInputs,
405 Clobbers.data(), NumClobbers);
1012 Designators.data(), Designators.size());
tools/clang/lib/Serialization/ASTWriter.cpp 4448 reinterpret_cast<char *>(CategoriesMap.data()),
4608 const char *PathBegin = Path.data();
5074 Buffer.data(), Buffer.size());
tools/clang/lib/Serialization/GlobalModuleIndex.cpp 918 llvm::StringRef(OutputBuffer.data(), OutputBuffer.size()));
tools/clang/lib/Serialization/MultiOnDiskHashTable.h 339 endian::write32le(Out.data(), BucketOffset);
tools/clang/lib/Tooling/DependencyScanning/DependencyScanningFilesystem.cpp 61 assert(MinimizedFileContents.data()[MinimizedFileContents.size()] == '\0' &&
tools/clang/lib/Tooling/Refactoring/Rename/USRFinder.cpp 141 return std::string(Buff.data(), Buff.size());
tools/clang/tools/clang-offload-wrapper/ClangOffloadWrapper.cpp 361 makeArrayRef(Images.data(), Images.size())),
tools/clang/tools/extra/clang-move/Move.cpp 695 MakeAbsolutePath(SM, llvm::StringRef(HeaderWithSearchPath.data(),
tools/clang/tools/libclang/CIndex.cpp 3590 CIdx, source_filename, Args.data(), Args.size(), unsaved_files,
3831 std::string floatStr(Buffer.data(), Buffer.size());
6805 memmove(Token, CXTokens.data(), sizeof(CXToken));
6843 memmove(*Tokens, CXTokens.data(), sizeof(CXToken) * CXTokens.size());
tools/clang/tools/libclang/CIndexCodeCompletion.cpp 684 std::memcpy(AllocatedResults.Results, StoredResults.data(),
tools/clang/tools/libclang/CIndexInclusionStack.cpp 65 InclusionStack.data(), InclusionStack.size(), clientData);
tools/clang/tools/libclang/Indexing.cpp 879 index_options, source_filename, Args.data(), Args.size(), unsaved_files,
tools/clang/unittests/Frontend/OutputStreamTest.cpp 45 EXPECT_TRUE(StringRef(IRBuffer.data()).startswith("BC"));
tools/clang/unittests/Lex/DependencyDirectivesSourceMinimizerTest.cpp 93 EXPECT_STREQ("#define MACRO\n", Out.data());
103 EXPECT_STREQ("#define MACRO\n", Out.data());
107 EXPECT_STREQ("#define MACRO\n", Out.data());
111 EXPECT_STREQ("#define MACRO a\n", Out.data());
115 EXPECT_STREQ("#define MACRO\n", Out.data());
122 EXPECT_STREQ("#define MACRO()\n", Out.data());
126 EXPECT_STREQ("#define MACRO(a,b...)\n", Out.data());
130 EXPECT_STREQ("#define MACRO content\n", Out.data());
134 EXPECT_STREQ("#define MACRO con tent\n", Out.data());
138 EXPECT_STREQ("#define MACRO() con tent\n", Out.data());
145 EXPECT_STREQ("#define MACRO(/* invalid */\n", Out.data());
148 EXPECT_STREQ("#define MACRO(/* invalid */\n", Out.data());
152 EXPECT_STREQ("#define MACRO(/* invalid */\n", Out.data());
160 EXPECT_STREQ("#define MACRO() con \t tent\n", Out.data());
164 EXPECT_STREQ("#define MACRO() con \f tent\n", Out.data());
168 EXPECT_STREQ("#define MACRO() con \v tent\n", Out.data());
172 EXPECT_STREQ("#define MACRO con\f\t\vtent\n", Out.data());
182 EXPECT_STREQ("#define MACRO(a)\n", Out.data());
190 EXPECT_STREQ("#define MACRO(a,b) call((a), (b))\n", Out.data());
203 EXPECT_STREQ("#define MACRO(a,b) call((a), (b))\n", Out.data());
213 EXPECT_STREQ("#define MACRO(a,b) #a #b\n", Out.data());
226 EXPECT_STREQ("#define MACRO(a,b) call((a), (b))\n", Out.data());
239 EXPECT_STREQ("#define MACRO(a,b) call((a), (b))\n", Out.data());
258 EXPECT_STREQ("#define AND &\n", Out.data());
263 EXPECT_STREQ("#define AND &\n", Out.data());
279 Out.data());
290 Out.data());
303 Out.data());
324 Out.data());
336 EXPECT_STREQ("", Out.data());
343 EXPECT_STREQ("", Out.data());
346 EXPECT_STREQ("", Out.data());
350 EXPECT_STREQ("", Out.data());
354 EXPECT_STREQ("", Out.data());
358 EXPECT_STREQ("#pragma clang module import\n", Out.data());
365 EXPECT_STREQ("#include \"A\"\n", Out.data());
368 EXPECT_STREQ("#include <A>\n", Out.data());
372 EXPECT_STREQ("#include_next <A>\n", Out.data());
375 EXPECT_STREQ("#import <A>\n", Out.data());
379 EXPECT_STREQ("#__include_macros <A>\n", Out.data());
386 EXPECT_STREQ("@import A;\n", Out.data());
389 EXPECT_STREQ("@import A;\n", Out.data());
392 EXPECT_STREQ("@import A;\n", Out.data());
395 EXPECT_STREQ("@import A.B;\n", Out.data());
399 EXPECT_STREQ("@import A.B;\n", Out.data());
421 Out.data());
434 Out.data());
447 Out.data());
461 Out.data());
466 EXPECT_STREQ("#define GUARD\n", Out.data());
471 EXPECT_STREQ("#define GUARD\n", Out.data());
476 EXPECT_STREQ("#define GUA RD\n", Out.data());
487 EXPECT_STREQ("#define A 1 + 2 + 3\n", Out.data());
504 EXPECT_STREQ("#include <t.h>\n", Out.data());
518 EXPECT_STREQ("", Out.data());
533 EXPECT_STREQ("#include <bob>\n#include <foo>\n", Out.data());
546 EXPECT_STREQ("#include <test.h>\n", Out.data());
557 EXPECT_STREQ("#include <test.h>\n", Out.data());
570 EXPECT_STREQ("#include <test.h>\n", Out.data());
583 EXPECT_STREQ("#pragma once\n#include <test.h>\n", Out.data());
594 EXPECT_STREQ("#pragma once\n#include <test.h>\n", Out.data());
610 Out.data());
621 Out.data());
630 EXPECT_STREQ("#define X '\\ \t\nx'\n", Out.data());
634 EXPECT_STREQ("#define X \"\\ \r\nx\"\n", Out.data());
638 EXPECT_STREQ("#define X \"\\ \r\nx\n#include <x>\n", Out.data());
677 "import f(:sefse);\nimport f(->a = 3);\n", Out.data());
tools/clang/unittests/Serialization/InMemoryModuleCacheTest.cpp 21 return MemoryBuffer::getMemBuffer(StringRef(Bytes.data(), Bytes.size()), "",
tools/dsymutil/DwarfStreamer.cpp 448 StringRef((const char *)Buffer.data(), Length));
tools/llc/llc.cpp 612 (memcmp(Buffer.data(), CompileTwiceBuffer.data(), Buffer.size()) !=
612 (memcmp(Buffer.data(), CompileTwiceBuffer.data(), Buffer.size()) !=
tools/lld/COFF/LTO.cpp 200 ret.emplace_back(buf[i].data(), buf[i].size());
tools/lld/COFF/Writer.cpp 161 memcpy(p, config->pdbAltPath.data(), config->pdbAltPath.size());
tools/lld/ELF/OutputSections.cpp 305 memcpy(buf + zDebugHeader.size(), compressedData.data(),
tools/lld/ELF/SyntheticSections.h 533 memcpy(buf, relocData.data(), relocData.size());
tools/lld/wasm/LTO.cpp 158 ret.emplace_back(buf[i].data(), buf[i].size());
tools/lldb/source/Core/DumpDataExtractor.cpp 584 s->Printf("%*.*s", (int)sv.size(), (int)sv.size(), sv.data());
tools/lldb/source/Host/common/HostInfoBase.cpp 287 file_spec = FileSpec(std::string(tmpdir.data(), tmpdir.size()));
tools/lldb/source/Host/common/NativeProcessProtocol.cpp 397 ReadMemory(addr, curr_break_op.data(), curr_break_op.size(), bytes_read);
425 error = ReadMemory(addr, verify_opcode.data(), verify_opcode.size(),
453 Status error = ReadMemory(addr, saved_opcode_bytes.data(),
490 error = ReadMemory(addr, verify_bp_opcode_bytes.data(),
505 if (llvm::makeArrayRef(verify_bp_opcode_bytes.data(), verify_bytes_read) !=
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangASTSource.cpp 1097 original_ctx->Selectors.getSelector(num_args, idents.data());
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp 176 const char *plain_diag = diag_str.data();
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangModulesDeclVendor.cpp 131 IDAndDiagnostic(DiagLevel, std::string(diagnostic_string.data(),
tools/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp 1894 new DataBufferHeap(uncompressedData.data(), uncompressedData.size()));
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerPlatform.cpp 345 response.PutBytesAsRawHex8(cwd.data(), cwd.size());
tools/lldb/source/Plugins/UnwindAssembly/x86/UnwindAssembly-x86.cpp 189 opcode_data.data(), 4, error) == 4) {
193 if (memcmp(opcode_data.data(), i386_push_mov, sizeof(i386_push_mov)) ==
195 memcmp(opcode_data.data(), x86_64_push_mov,
tools/lldb/source/Symbol/ClangASTContext.cpp 800 LLDB_LOGF(m_log, "Compiler diagnostic: %s\n", diag_str.data());
8621 selector_idents.data());
9736 s->Write(buf.data(), buf.size());
9913 return ConstString(buf.data(), buf.size());
tools/lldb/source/Utility/VASprintf.cpp 30 int length = ::vsnprintf(buf.data(), buf.size(), fmt, args);
41 length = ::vsnprintf(buf.data(), buf.size(), fmt, copy_args);
tools/lldb/unittests/tools/lldb-server/tests/MessageObjects.cpp 219 &Info, Bytes.data(), Bytes.size(),
tools/llvm-c-test/echo.cpp 124 LLVMStructSetBody(S, Elts.data(), EltCount, LLVMIsPackedStruct(Src));
126 S = LLVMStructTypeInContext(Ctx, Elts.data(), EltCount,
301 return LLVMConstArray(LLVMGetElementType(Ty), Elts.data(), EltCount);
312 return LLVMConstArray(LLVMGetElementType(Ty), Elts.data(), EltCount);
324 return LLVMConstNamedStruct(Ty, Elts.data(), EltCount);
325 return LLVMConstStructInContext(LLVMGetModuleContext(M), Elts.data(),
484 Dst = LLVMBuildInvoke(Builder, Fn, Args.data(), ArgCount,
599 Dst = LLVMBuildInBoundsGEP(Builder, Ptr, Idx.data(), NumIdx, Name);
601 Dst = LLVMBuildGEP(Builder, Ptr, Idx.data(), NumIdx, Name);
655 LLVMAddIncoming(Dst, Values.data(), Blocks.data(), IncomingCount);
655 LLVMAddIncoming(Dst, Values.data(), Blocks.data(), IncomingCount);
664 Dst = LLVMBuildCall(Builder, Fn, Args.data(), ArgCount, Name);
703 Args.data(), ArgCount, Name);
713 Args.data(), ArgCount, Name);
tools/llvm-cat/llvm-cat.cpp 95 OS.write(Buffer.data(), Buffer.size());
tools/llvm-diff/DifferenceEngine.cpp 52 T *data = Storage.data();
527 DiffEntry *Cur = Paths1.data();
528 DiffEntry *Next = Paths2.data();
tools/llvm-dwp/llvm-dwp.cpp 497 DWOPaths.emplace_back(DWOPath.data(), DWOPath.size());
tools/llvm-objcopy/ELF/ELFObjcopy.cpp 243 Path.data());
251 Path.data());
259 return makeStringError(EC, "could not remove '%s'", TmpPath.data());
tools/llvm-objcopy/ELF/Object.cpp 200 StringRef S(Line.data() + 1, std::distance(Line.begin() + 1, Iter));
381 memcpy(Out.getBufferStart() + Offset, HexData.data(), HexData.size());
2221 memcpy(Buf, HexData.data(), HexData.size());
2227 memcpy(Buf, HexData.data(), HexData.size());
tools/opt/opt.cpp 909 (memcmp(Buffer.data(), FirstRunBuffer.data(), Buffer.size()) != 0)) {
909 (memcmp(Buffer.data(), FirstRunBuffer.data(), Buffer.size()) != 0)) {
tools/verify-uselistorder/verify-uselistorder.cpp 116 Filename.assign(Vector.data(), Vector.data() + Vector.size());
116 Filename.assign(Vector.data(), Vector.data() + Vector.size());
unittests/ADT/APFloatTest.cpp 34 return std::string(Buffer.data(), Buffer.size());
unittests/ADT/SmallVectorTest.cpp 777 const Constructable *OrigDataPtr = this->otherVector.data();
795 this->theVector.data() == OrigDataPtr);
unittests/DebugInfo/DWARF/DWARFFormValueTest.cpp 120 EXPECT_EQ(memcmp(Str.data(), "000102030405060708090a0b0c0d0e0f", 32), 0);
unittests/DebugInfo/DWARF/DwarfGenerator.cpp 527 return StringRef(FileBytes.data(), FileBytes.size());
537 Strm.write(FileBytes.data(), FileBytes.size());
unittests/ProfileData/SampleProfTest.cpp 65 RemapFile = StringRef(RemapPath.data(), RemapPath.size());
81 StringRef Profile(ProfilePath.data(), ProfilePath.size());
306 StringRef ProfileFile(ProfilePath.data(), ProfilePath.size());
unittests/Support/CommandLineTest.cpp 1131 sys::fs::remove(std::string(FilePath.data(), FilePath.size()));