|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
include/llvm/ADT/SmallString.h 31 SmallString(StringRef S) : SmallVector<char, InternalLen>(S.begin(), S.end()) {}
59 SmallVectorImpl<char>::append(RHS.begin(), RHS.end());
84 SmallVectorImpl<char>::append(RHS.begin(), RHS.end());
285 this->append(RHS.begin(), RHS.end());
include/llvm/ADT/StringExtras.h 95 for (char C : S)
include/llvm/ADT/StringRef.h 126 return reinterpret_cast<const unsigned char *>(begin());
173 std::copy(begin(), end(), S);
include/llvm/ExecutionEngine/ExecutionEngine.h 612 MArch.assign(march.begin(), march.end());
618 MCPU.assign(mcpu.begin(), mcpu.end());
include/llvm/IR/Metadata.h 627 iterator begin() const { return getString().begin(); }
include/llvm/MC/MCDwarf.h 468 Values(V.begin(), V.end()) {
include/llvm/Object/Archive.h 106 return Data.begin() == other.Data.begin();
106 return Data.begin() == other.Data.begin();
include/llvm/Object/ELF.h 436 Result.append(Name.begin(), Name.end());
450 Result.append(Name.begin(), Name.end());
454 Result.append(Name.begin(), Name.end());
458 Result.append(Name.begin(), Name.end());
710 for (char C : SymbolName) {
include/llvm/Support/LineIterator.h 74 LHS.CurrentLine.begin() == RHS.CurrentLine.begin();
74 LHS.CurrentLine.begin() == RHS.CurrentLine.begin();
include/llvm/Support/MemoryBuffer.h 276 const char *getBufferStart() const { return Buffer.begin(); }
include/llvm/Support/Timer.h 204 Name.assign(NewName.begin(), NewName.end());
205 Description.assign(NewDescription.begin(), NewDescription.end());
include/llvm/Support/YAMLParser.h 213 SMLoc Start = SMLoc::getFromPointer(Val.begin());
256 SMLoc Start = SMLoc::getFromPointer(RawVal.begin());
include/llvm/Support/YAMLTraits.h 670 for (unsigned char C : S) {
include/llvm/TableGen/StringToOffsetTable.h 36 AggregateString.append(Str.begin(), Str.end());
lib/AsmParser/LLLexer.cpp 163 CurPtr = CurBuf.begin();
906 DWKEYWORD(TAG, DwarfTag);
907 DWKEYWORD(ATE, DwarfAttEncoding);
908 DWKEYWORD(VIRTUALITY, DwarfVirtuality);
909 DWKEYWORD(LANG, DwarfLang);
910 DWKEYWORD(CC, DwarfCC);
911 DWKEYWORD(OP, DwarfOp);
912 DWKEYWORD(MACINFO, DwarfMacinfo);
917 StrVal.assign(Keyword.begin(), Keyword.end());
922 StrVal.assign(Keyword.begin(), Keyword.end());
927 StrVal.assign(Keyword.begin(), Keyword.end());
933 StrVal.assign(Keyword.begin(), Keyword.end());
938 StrVal.assign(Keyword.begin(), Keyword.end());
lib/AsmParser/Parser.cpp 169 Err = SM.GetMessage(SMLoc::getFromPointer(Asm.begin() + Read),
lib/Bitcode/Writer/BitcodeWriter.cpp 764 Record.append(Kind.begin(), Kind.end());
767 Record.append(Val.begin(), Val.end());
1136 for (char C : Str) {
2205 Record.append(KName.begin(), KName.end());
2232 Record.append(Tag.begin(), Tag.end());
2251 Record.append(SSN.begin(), SSN.end());
3122 for (const auto P : Name.getKey())
3490 Vals.append(Key.begin(), Key.end());
lib/CodeGen/AsmPrinter/AsmPrinterInlineAsm.cpp 546 SrcMgr.getMemoryBuffer(BufNum)->getBuffer().begin());
lib/CodeGen/AsmPrinter/CodeViewDebug.cpp 751 for (const char C : Name) {
lib/CodeGen/MIRParser/MILexer.h 210 StringRef::iterator location() const { return Range.begin(); }
lib/DebugInfo/PDB/Native/Hash.cpp 59 ArrayRef<char> Buffer(Str.begin(), Str.end());
lib/DebugInfo/PDB/Native/NamedStreamMap.cpp 61 NamesBuffer.assign(Buffer.begin(), Buffer.end());
119 NamesBuffer.insert(NamesBuffer.end(), S.begin(), S.end());
lib/DebugInfo/Symbolize/Symbolize.cpp 494 std::all_of(SymbolName.begin() + AtPos + 1, SymbolName.end(),
lib/IR/Constants.cpp 2476 for (char I : Arr)
2587 ElementVals.append(Str.begin(), Str.end());
lib/IR/InlineAsm.cpp 65 StringRef::iterator I = Str.begin(), E = Str.end();
221 for (StringRef::iterator I = Constraints.begin(),
lib/IR/ValueSymbolTable.cpp 83 SmallString<256> UniqueName(V->getName().begin(), V->getName().end());
111 SmallString<256> UniqueName(Name.begin(), Name.end());
lib/MC/MCAsmInfo.cpp 114 for (char C : Name) {
lib/MC/MCCodeView.cpp 156 Contents.append(Ret.first.begin(), Ret.first.end() + 1);
lib/MC/MCObjectStreamer.cpp 522 DF->getContents().append(Data.begin(), Data.end());
lib/MC/MCParser/AsmLexer.cpp 45 CurPtr = CurBuf.begin();
lib/MC/MCParser/AsmParser.cpp 1156 return Error(SMLoc::getFromPointer(Split.second.begin()),
5894 const char *AsmStart = ASMString.begin();
lib/MC/MCParser/COFFAsmParser.cpp 176 for (char FlagChar : FlagsString) {
lib/MC/MCParser/DarwinAsmParser.cpp 681 SectionSpec.append(EOL.begin(), EOL.end());
lib/MC/MCParser/ELFAsmParser.cpp 288 for (char i : flagsStr) {
lib/MC/MCSectionELF.cpp 38 for (const char *B = Name.begin(), *E = Name.end(); B < E; ++B) {
lib/MC/MCSectionWasm.cpp 32 for (const char *B = Name.begin(), *E = Name.end(); B < E; ++B) {
lib/MC/MCSymbol.cpp 73 for (char C : Name) {
lib/Object/Archive.cpp 189 return Parent->getStringTable().begin() + StringOffset;
796 return Parent->getSymbolTable().begin() + StringIndex;
800 const char *Buf = Parent->getSymbolTable().begin();
851 const char *Loc = Parent->getData().begin() + Offset;
875 const char *Buf = Parent->getSymbolTable().begin();
902 const char *buf = getSymbolTable().begin();
950 uint32_t string_start_offset = buf - getSymbolTable().begin();
961 const char *buf = getSymbolTable().begin();
lib/Object/COFFObjectFile.cpp 1281 Result.append(Res.begin(), Res.end());
lib/Object/MachOObjectFile.cpp 70 if (P < O.getData().begin() || P + sizeof(T) > O.getData().end())
83 if (P < O.getData().begin() || P + sizeof(T) > O.getData().end())
1756 if (Start < getData().begin() || Start >= getData().end()) {
2261 Result.append(res.begin(), res.end());
lib/Object/MachOUniversal.cpp 51 const char *HeaderPos = ParentData.begin() + sizeof(MachO::fat_header) +
55 const char *HeaderPos = ParentData.begin() + sizeof(MachO::fat_header) +
125 getUniversalBinaryStruct<MachO::fat_header>(Buf.begin());
lib/Object/WasmObjectFile.cpp 1510 Result.append(Res.begin(), Res.end());
lib/ObjectYAML/COFFEmitter.cpp 78 std::copy(Name.begin(), Name.end(), Sec.Header.Name);
116 std::copy(Name.begin(), Name.end(), Sym.Header.Name);
142 StringTable.append(Str.begin(), Str.end());
lib/ObjectYAML/CodeViewYAMLTypes.cpp 158 for (auto Iter = Scalar.begin(); Iter != Scalar.end();) {
lib/Option/OptTable.cpp 152 for (StringRef::const_iterator C = Prefix.begin(), CE = Prefix.end();
lib/ProfileData/GCOV.cpp 654 for (I = S = Filename.begin(), E = Filename.end(); I != E; ++I) {
lib/ProfileData/InstrProf.cpp 228 for (auto & CI : PathNameStr) {
lib/ProfileData/InstrProfReader.cpp 146 std::all_of(buffer.begin(), buffer.begin() + count,
146 std::all_of(buffer.begin(), buffer.begin() + count,
662 Out.insert(Out.end(), OrigName.begin(), ExtractedName.begin());
662 Out.insert(Out.end(), OrigName.begin(), ExtractedName.begin());
663 Out.insert(Out.end(), Replacement.begin(), Replacement.end());
688 if (RealName.begin() == FuncName.begin() &&
688 if (RealName.begin() == FuncName.begin() &&
lib/Remarks/BitstreamRemarkSerializer.cpp 24 for (const char C : Str)
198 for (const char C : ContainerMagic)
lib/Support/APFloat.cpp 2320 StringRef::iterator begin = s.begin();
2476 StringRef::iterator p = str.begin();
2620 StringRef::iterator p = str.begin();
3352 Buffer.append(Str.begin(), Str.end());
lib/Support/APInt.cpp 502 StringRef::iterator p = str.begin();
2099 StringRef::iterator p = str.begin();
lib/Support/CommandLine.cpp 998 for (const char *Cur = Source.begin(); Cur != Source.end();) {
lib/Support/ConvertUTFWrapper.cpp 25 const UTF8 *Pos = reinterpret_cast<const UTF8*>(Source.begin());
153 const UTF8 *Src = reinterpret_cast<const UTF8 *>(SrcUTF8.begin());
lib/Support/DJB.cpp 24 reinterpret_cast<const UTF8 *>(Buffer.begin());
62 for (unsigned char C : Buffer) {
lib/Support/FileCheck.cpp 1421 FirstNewLine = Range.begin();
lib/Support/GlobPattern.cpp 57 for (char C : S)
lib/Support/Host.cpp 75 StringRef::const_iterator CPUInfoStart = ProcCpuinfoContent.begin();
lib/Support/ItaniumManglingCanonicalizer.cpp 242 P->Demangler.reset(Str.begin(), Str.end());
313 P->Demangler.reset(Mangling.begin(), Mangling.end());
320 P->Demangler.reset(Mangling.begin(), Mangling.end());
lib/Support/JSON.cpp 206 : Start(JSON.begin()), P(JSON.begin()), End(JSON.end()) {}
206 : Start(JSON.begin()), P(JSON.begin()), End(JSON.end()) {}
565 for (unsigned char C : S) {
lib/Support/LockFileManager.cpp 99 HostID.append(HostNameRef.begin(), HostNameRef.end());
lib/Support/MemoryBuffer.cpp 87 MemoryBuffer::init(InputData.begin(), InputData.end(),
lib/Support/Path.cpp 288 return Path.begin() == RHS.Path.begin() && Position == RHS.Position;
288 return Path.begin() == RHS.Path.begin() && Position == RHS.Position;
338 return Path.begin() == RHS.Path.begin() && Component == RHS.Component &&
338 return Path.begin() == RHS.Path.begin() && Component == RHS.Component &&
439 path.append(c.begin(), c.end());
451 path.append(component.begin(), component.end());
496 path.append(ext.begin(), ext.end());
800 return createUniqueEntity(P.begin(), ResultFD, ResultPath, true,
880 SmallString<128> curDirRootName(cdrn.begin(), cdrn.end());
lib/Support/Regex.cpp 142 std::string Res(String.begin(), Matches[0].begin());
142 std::string Res(String.begin(), Matches[0].begin());
lib/Support/SourceMgr.cpp 323 std::copy(I->getText().begin(), I->getText().end(),
lib/Support/StringExtras.cpp 73 for (char C : String) {
90 for (const char C : String)
lib/Support/StringRef.cpp 598 return hash_combine_range(S.begin(), S.end());
lib/Support/Timer.cpp 100 this->Name.assign(Name.begin(), Name.end());
101 this->Description.assign(Description.begin(), Description.end());
233 : Name(Name.begin(), Name.end()),
234 Description(Description.begin(), Description.end()) {
lib/Support/Unix/Path.inc 324 if (::chdir(p.begin()) == -1)
335 if (::mkdir(p.begin(), Perms) == -1) {
352 if (::symlink(t.begin(), f.begin()) == -1)
352 if (::symlink(t.begin(), f.begin()) == -1)
365 if (::link(t.begin(), f.begin()) == -1)
365 if (::link(t.begin(), f.begin()) == -1)
376 if (lstat(p.begin(), &buf) != 0) {
390 if (::remove(p.begin()) == -1) {
502 if (::rename(f.begin(), t.begin()) == -1)
502 if (::rename(f.begin(), t.begin()) == -1)
546 if (::access(P.begin(), convertAccessMode(Mode)) == -1)
552 if (0 != stat(P.begin(), &buf))
687 int StatRet = (Follow ? ::stat : ::lstat)(P.begin(), &Status);
709 if (::chmod(P.begin(), Permissions))
927 auto Open = [&]() { return ::open(P.begin(), OpenFlags, Mode); };
982 if (::realpath(P.begin(), Buffer) != nullptr)
1087 if (::realpath(P.begin(), Buffer) == nullptr)
lib/Support/VirtualFileSystem.cpp 752 StringRef(Path.str().begin(), Name.end() - Path.str().begin()),
752 StringRef(Path.str().begin(), Name.end() - Path.str().begin()),
lib/Support/YAMLParser.cpp 199 StringRef::iterator Position= Range.begin();
692 for (StringRef::iterator i = Input.begin(), e = Input.end(); i != e; ++i) {
992 , i->Tok->Range.begin());
1804 SMLoc Start = SMLoc::getFromPointer(peekNext().Range.begin());
1896 StringRef Valid(UnquotedValue.begin(), i);
1897 Storage.insert(Storage.end(), Valid.begin(), Valid.end());
1901 Storage.insert(Storage.end(), UnquotedValue.begin(), UnquotedValue.end());
1919 StringRef Valid(UnquotedValue.begin(), i);
1920 Storage.insert(Storage.end(), Valid.begin(), Valid.end());
1944 T.Range = StringRef(UnquotedValue.begin(), 1);
2049 Storage.insert(Storage.end(), UnquotedValue.begin(), UnquotedValue.end());
2294 stream.scanner->setError(Message, Location.Range.begin());
lib/Support/raw_ostream.cpp 167 for (unsigned char c : Str) {
lib/TableGen/TGLexer.cpp 49 CurPtr = CurBuf.begin();
356 CurStrVal.assign(Str.begin(), Str.end());
393 CurPtr = CurBuf.begin();
lib/TableGen/TGLexer.h 99 return CurCode = LexToken(CurPtr == CurBuf.begin());
lib/Target/ARM/ARMISelDAGToDAG.cpp 4379 for (char Flag : Flags) {
lib/Target/Mips/MipsISelLowering.cpp 3854 StringRef::const_iterator I, B = C.begin() + 1, E = C.end() - 1;
lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp 343 for (char c : Str) {
704 for (char c : SE->getSymbol().getName()) {
lib/Target/TargetLoweringObjectFile.cpp 123 NameStr.append(Suffix.begin(), Suffix.end());
lib/Target/WebAssembly/AsmParser/WebAssemblyAsmParser.cpp 441 Name = StringRef(Name.begin(), Name.size() + Sep.getString().size());
448 Name = StringRef(Name.begin(), Name.size() + Id.getString().size());
lib/Transforms/Scalar/MergeICmps.cpp 589 Scratch.append(str.begin(), str.end());
lib/Transforms/Utils/SimplifyLibCalls.cpp 936 *std::max_element(reinterpret_cast<const unsigned char *>(Str.begin()),
953 for (char C : Str)
tools/clang/include/clang/AST/Expr.h 1813 for (auto c : getString())
1820 for (auto c : getString())
tools/clang/include/clang/Basic/CharInfo.h 189 for (StringRef::iterator I = S.begin(), E = S.end(); I != E; ++I)
tools/clang/include/clang/Basic/PlistSupport.h 80 for (StringRef::const_iterator I = s.begin(), E = s.end(); I != E; ++I) {
tools/clang/include/clang/Rewrite/Core/RewriteBuffer.h 47 Initialize(Input.begin(), Input.end());
tools/clang/lib/ARCMigrate/Transforms.cpp 153 file.begin(), tokenBegin, file.end());
401 file.begin(), tokenBegin, file.end());
482 file.begin(), tokenBegin, file.end());
tools/clang/lib/AST/Comment.cpp 111 for (StringRef::const_iterator I = Text.begin(), E = Text.end();
tools/clang/lib/AST/CommentBriefParser.cpp 47 for (StringRef::const_iterator I = Text.begin(), E = Text.end();
tools/clang/lib/AST/CommentParser.cpp 20 for (StringRef::const_iterator I = S.begin(), E = S.end(); I != E; ++I) {
61 Pos.BufferStart = Tok.getText().begin();
tools/clang/lib/AST/Expr.cpp 1260 Buffer.begin(), StrData, Buffer.end());
tools/clang/lib/AST/OSLog.cpp 207 ParsePrintfString(H, Data.begin(), Data.end(), Ctx.getLangOpts(),
tools/clang/lib/AST/RawCommentList.cpp 189 RawText.begin(), RawText.end());
211 RawText.begin(), RawText.end());
370 CommentText.begin(), CommentText.end(),
tools/clang/lib/AST/Stmt.cpp 537 const char *StrStart = Str.begin();
tools/clang/lib/Analysis/CocoaConventions.cpp 104 StringRef::iterator it = functionName.begin();
tools/clang/lib/Basic/Diagnostic.cpp 71 Output.append(Str.begin(), Str.end());
764 OutStr.append(StoredDiagMessage.begin(), StoredDiagMessage.end());
771 FormatDiagnostic(Diag.begin(), Diag.end(), OutStr);
tools/clang/lib/Basic/Targets/X86.h 205 for (I = Constraint.begin(), E = Constraint.end(); I != E; ++I) {
tools/clang/lib/Driver/Job.cpp 111 for (const auto c : Arg) {
tools/clang/lib/Driver/ToolChains/Arch/RISCV.cpp 272 auto StdExtsItr = StdExts.begin();
275 for (auto I = Exts.begin(), E = Exts.end(); I != E; ++I) {
tools/clang/lib/Format/BreakableToken.cpp 132 AfterCut.begin() - BeforeCut.end());
tools/clang/lib/Format/Encoding.h 35 const llvm::UTF8 *Ptr = reinterpret_cast<const llvm::UTF8 *>(Text.begin());
tools/clang/lib/Format/FormatTokenLexer.cpp 139 At->TokenText = StringRef(At->TokenText.begin(),
140 String->TokenText.end() - At->TokenText.begin());
158 StringRef(Hash->TokenText.begin(),
159 Identifier->TokenText.end() - Hash->TokenText.begin());
186 StringRef(Dollar->TokenText.begin(),
187 String->TokenText.end() - Dollar->TokenText.begin());
198 At->TokenText = StringRef(At->TokenText.begin(),
199 String->TokenText.end() - At->TokenText.begin());
214 FirstQuestion->TokenText = StringRef(FirstQuestion->TokenText.begin(),
216 FirstQuestion->TokenText.begin());
234 At->TokenText = StringRef(At->TokenText.begin(),
235 Keyword->TokenText.end() - At->TokenText.begin());
252 StringRef(Identifier->TokenText.begin(),
253 Question->TokenText.end() - Identifier->TokenText.begin());
492 size_t From = CommentBegin - Lex->getBuffer().begin();
868 getFormattingLangOpts(Style), Buffer.begin(),
869 Buffer.begin() + Offset, Buffer.end()));
tools/clang/lib/Frontend/CompilerInvocation.cpp 1068 Opts.CmdArgs.insert(Opts.CmdArgs.end(), ArgStr.begin(), ArgStr.end());
tools/clang/lib/Frontend/FrontendAction.cpp 288 Includes.append(RHS.begin(), RHS.end());
tools/clang/lib/Frontend/ModuleDependencyCollector.cpp 123 for (auto &C : Path)
tools/clang/lib/Frontend/PrecompiledPreamble.cpp 438 MainFileBuffer->getBuffer().begin()))
tools/clang/lib/Frontend/PrintPreprocessedOutput.cpp 404 OS.write(S.begin(), S.size());
434 for (unsigned char Char : Str) {
tools/clang/lib/Frontend/Rewrite/RewriteModernObjC.cpp 807 const char *MainBufStart = MainBuf.begin();
tools/clang/lib/Frontend/Rewrite/RewriteObjC.cpp 733 const char *MainBufStart = MainBuf.begin();
tools/clang/lib/Frontend/TextDiagnostic.cpp 118 begin = reinterpret_cast<unsigned char const *>(&*(SourceLine.begin() + *i));
1212 std::string SourceLine(Line.begin(), Line.end());
tools/clang/lib/Frontend/VerifyDiagnosticConsumer.cpp 131 : Begin(S.begin()), End(S.end()), C(Begin), P(Begin) {}
185 P = std::search(C, End, S.begin(), S.end());
tools/clang/lib/Index/CommentToXML.cpp 493 for (StringRef::iterator I = S.begin(), E = S.end(); I != E; ++I) {
1069 for (StringRef::iterator I = S.begin(), E = S.end(); I != E; ++I) {
tools/clang/lib/Lex/DependencyDirectivesSourceMinimizer.cpp 82 Minimizer &append(StringRef S) { return append(S.begin(), S.end()); }
884 bool Error = minimizeImpl(Input.begin(), Input.end());
tools/clang/lib/Lex/HeaderMap.cpp 33 const char *S = Str.begin(), *End = Str.end();
237 DestPath.append(Prefix->begin(), Prefix->end());
238 DestPath.append(Suffix->begin(), Suffix->end());
tools/clang/lib/Lex/HeaderSearch.cpp 368 SearchPath->append(SearchPathRef.begin(), SearchPathRef.end());
372 RelativePath->append(Filename.begin(), Filename.end());
398 SearchPath->append(SearchPathRef.begin(), SearchPathRef.end());
402 RelativePath->append(Filename.begin(), Filename.end());
410 MappedName.append(Dest.begin(), Dest.end());
517 StringRef ModuleName(Filename.begin(), SlashPos);
553 RelativePath->append(Filename.begin()+SlashPos+1, Filename.end());
567 FrameworkName.append(Filename.begin()+SlashPos+1, Filename.end());
650 std::copy(Str.begin(), Str.end(), CopyStr);
675 FrameworkName.append(I->begin(), I->end());
757 RelativePath->append(Filename.begin(), Filename.end());
785 TmpDir.append(Filename.begin(), Filename.end());
824 SearchPath->append(SearchPathRef.begin(), SearchPathRef.end());
828 RelativePath->append(Filename.begin(), Filename.end());
950 HFI.Framework = getUniqueFrameworkName(StringRef(Filename.begin(),
1052 FrameworkName.append(Filename.begin(), Filename.begin()+SlashPos);
1052 FrameworkName.append(Filename.begin(), Filename.begin()+SlashPos);
1083 RelativePath->append(Filename.begin()+SlashPos+1, Filename.end());
1095 HeadersFilename.append(Filename.begin()+SlashPos+1, Filename.end());
1107 HeadersFilename.append(Filename.begin()+SlashPos+1, Filename.end());
1745 llvm::SmallString<32> DirPath(Dir.begin(), Dir.end());
tools/clang/lib/Lex/Lexer.cpp 344 file.begin(), tokenBegin, file.end());
481 Buffer.begin(), StrData, Buffer.end());
590 Lexer TheLexer(FileLoc, LangOpts, Buffer.begin(), Buffer.begin(),
590 Lexer TheLexer(FileLoc, LangOpts, Buffer.begin(), Buffer.begin(),
600 const char *CurPtr = Buffer.begin();
611 MaxLineOffset = CurPtr - Buffer.begin();
1258 Lexer lexer(SM.getLocForStartOfFile(LocInfo.first), LangOpts, File.begin(),
tools/clang/lib/Lex/LiteralSupport.cpp 240 for (StringRef::iterator I = Input.begin(), E = Input.end(); I != E; ++I) {
528 : PP(PP), ThisTokBegin(TokSpelling.begin()), ThisTokEnd(TokSpelling.end()) {
1049 std::remove_copy_if(Str.begin(), Str.end(), std::back_inserter(Buffer),
tools/clang/lib/Lex/ModuleMap.cpp 363 Buffer.append(Name.begin(), Name.end());
tools/clang/lib/Lex/PPExpressions.cpp 349 CharLiteralParser Literal(ThisTok.begin(), ThisTok.end(),
tools/clang/lib/Lex/Pragma.cpp 846 assert(CurLexer->getBuffer().begin() <= Start &&
848 CurLexer->getBuffer().begin() <= End &&
tools/clang/lib/Parse/ParseStmtAsm.cpp 142 assert(!std::less<const char *>()(Str.begin(), AsmString.begin()) &&
142 assert(!std::less<const char *>()(Str.begin(), AsmString.begin()) &&
146 unsigned FirstCharOffset = Str.begin() - AsmString.begin();
146 unsigned FirstCharOffset = Str.begin() - AsmString.begin();
158 unsigned LastCharOffset = Str.end() - AsmString.begin();
tools/clang/lib/Rewrite/Rewriter.cpp 121 Buffer.insert(RealOffset, Str.begin(), Str.end());
134 Buffer.insert(RealOffset, NewStr.begin(), NewStr.end());
248 I->second.Initialize(MB.begin(), MB.end());
tools/clang/lib/Sema/CodeCompleteConsumer.cpp 352 std::copy(Ref.begin(), Ref.end(), Mem);
tools/clang/lib/Sema/SemaExpr.cpp 3275 CharLiteralParser Literal(ThisTok.begin(), ThisTok.end(), Tok.getLocation(),
tools/clang/lib/Sema/SemaObjCProperty.cpp 330 file.begin(), tokenBegin, file.end());
tools/clang/lib/Sema/SemaStmtAsm.cpp 912 for (char C : ExternalLabelName) {
tools/clang/lib/Serialization/ASTWriter.cpp 2068 FrameworkStringData.append(Data.HFI.Framework.begin(),
4598 Record.insert(Record.end(), Str.begin(), Str.end());
tools/clang/lib/Serialization/GlobalModuleIndex.cpp 804 Record.append(Name.begin(), Name.end());
tools/clang/lib/StaticAnalyzer/Core/AnalyzerOptions.cpp 54 for (char C : EntryDescPair.second) {
tools/clang/lib/StaticAnalyzer/Core/HTMLDiagnostics.cpp 818 for (char C : Msg)
890 BufferInfo.begin(), MacroName, BufferInfo.end());
tools/clang/lib/StaticAnalyzer/Core/SarifDiagnostics.cpp 101 for (char C : Component) {
tools/clang/lib/Tooling/JSONCompilationDatabase.cpp 54 : Input(CommandLine), Position(Input.begin()-1) {}
tools/clang/tools/clang-diff/ClangDiff.cpp 244 for (char C : Str)
320 for (signed char C : Str) {
tools/clang/tools/clang-refactor/TestSupport.cpp 315 Lexer Lex(SourceLocation::getFromRawEncoding(0), LangOpts, Source.begin(),
316 Source.begin(), Source.end());
tools/clang/tools/extra/clang-change-namespace/ChangeNamespace.cpp 113 LangOpts, File.begin(), TokBegin, File.end());
tools/clang/tools/extra/clang-doc/BitcodeReader.cpp 22 Field.assign(Blob.begin(), Blob.end());
tools/clang/tools/extra/clang-doc/BitcodeWriter.cpp 286 Record.append(RecordIdNameMap[ID].Name.begin(),
tools/clang/tools/extra/clang-doc/Serialize.cpp 169 return std::all_of(S.begin(), S.end(), isspace);
tools/clang/tools/extra/clang-doc/YAMLGenerator.cpp 71 Value.assign(Scalar.begin(), Scalar.end());
tools/clang/tools/extra/clang-include-fixer/IncludeFixer.cpp 251 return std::string(Source.begin(), End);
tools/clang/tools/extra/clang-move/Move.cpp 294 Lexer Lex(SM.getLocForStartOfFile(LocInfo.first), LangOpts, File.begin(),
tools/clang/tools/extra/clang-query/QueryParser.cpp 168 Line, CompletionPos - Line.begin(), nullptr, &QS.NamedValues);
tools/clang/tools/extra/clang-tidy/GlobList.cpp 34 for (char C : Glob) {
tools/clang/tools/extra/clang-tidy/bugprone/ArgumentCommentCheck.cpp 81 Buffer.begin(), StrData, Buffer.end());
97 StringRef(Buffer.begin() + CommentLoc.second, Tok.getLength()));
tools/clang/tools/extra/clang-tidy/cert/StrToNumCheck.cpp 128 analyze_format_string::ParseScanfString(H, Fmt.begin(), Fmt.end(), LO, TI);
tools/clang/tools/extra/clang-tidy/cppcoreguidelines/MacroUsageCheck.cpp 24 return std::all_of(Name.begin(), Name.end(), [](const char c) {
tools/clang/tools/extra/clang-tidy/modernize/RawStringLiteralCheck.cpp 50 for (const unsigned char C : Literal->getBytes())
101 for (const unsigned char C : StringRef("\000\001\002\003\004\005\006\a"
tools/clang/tools/extra/clang-tidy/modernize/UseAutoCheck.cpp 35 for (const unsigned char C : Text) {
tools/clang/tools/extra/clang-tidy/modernize/UseOverrideCheck.cpp 55 Result.Context->getLangOpts(), File.begin(), TokenBegin,
tools/clang/tools/extra/clang-tidy/modernize/UseTrailingReturnTypeCheck.cpp 135 Lexer Lexer(SM.getLocForStartOfFile(Loc.first), LangOpts, File.begin(),
215 Lexer Lexer(SM.getLocForStartOfFile(Loc.first), LangOpts, File.begin(),
tools/clang/tools/extra/clang-tidy/modernize/UseUsingCheck.cpp 39 File.begin(), TokenBegin, File.end());
tools/clang/tools/extra/clang-tidy/readability/AvoidConstParamsInDecls.cpp 58 Result.Context->getLangOpts(), File.begin(), TokenBegin,
tools/clang/tools/extra/clang-tidy/utils/HeaderFileExtensionsUtils.cpp 49 for (StringRef::const_iterator it = Extension.begin();
tools/clang/tools/extra/clang-tidy/utils/LexerUtils.cpp 101 File.begin(), File.data() + LocInfo.second, File.end());
tools/clang/tools/extra/clangd/CodeComplete.cpp 1399 unsigned RangeEnd = HeuristicPrefix.Qualifier.begin() - Content.data(),
1725 Content.slice(Rest.size(), Result.Name.begin() - Content.begin());
1725 Content.slice(Rest.size(), Result.Name.begin() - Content.begin());
tools/clang/tools/extra/clangd/CodeCompletionStrings.cpp 28 for (const auto Character : Text) {
tools/clang/tools/extra/clangd/Format.cpp 90 assert(From.begin() >= Code.begin() && From.end() <= Code.end());
90 assert(From.begin() >= Code.begin() && From.end() <= Code.end());
145 replacement(Code, StringRef(Trailing.begin(), TrailWS), "")));
tools/clang/tools/extra/clangd/FormattedString.cpp 75 for (char C : Input) {
tools/clang/tools/extra/clangd/FuzzyMatch.cpp 79 std::copy(Pattern.begin(), Pattern.begin() + PatN, Pat);
79 std::copy(Pattern.begin(), Pattern.begin() + PatN, Pat);
185 std::copy(NewWord.begin(), NewWord.begin() + WordN, Word);
185 std::copy(NewWord.begin(), NewWord.begin() + WordN, Word);
358 for (char C : llvm::StringRef(Word, WordN))
379 for (char C : llvm::StringRef(Word, WordN))
tools/clang/tools/extra/clangd/ParsedAST.cpp 177 Src.begin(), Src.begin() + Inc.HashOffset, Src.end());
177 Src.begin(), Src.begin() + Inc.HashOffset, Src.end());
tools/clang/tools/extra/clangd/RIFF.cpp 24 std::copy(Stream.begin(), Stream.begin() + 4, C.ID.begin());
24 std::copy(Stream.begin(), Stream.begin() + 4, C.ID.begin());
26 uint32_t Len = llvm::support::endian::read32le(Stream.take_front(4).begin());
60 std::copy(RIFF->Data.begin(), RIFF->Data.begin() + 4, F.Type.begin());
60 std::copy(RIFF->Data.begin(), RIFF->Data.begin() + 4, F.Type.begin());
tools/clang/tools/extra/clangd/SourceCode.cpp 888 R = NS.take_front(R.end() - NS.begin());
tools/clang/tools/extra/clangd/URI.cpp 45 llvm::SmallVector<char, 16> Path(Body.begin(), Body.end());
99 for (unsigned char C : Content)
112 for (auto I = Content.begin(), E = Content.end(); I != E; ++I) {
132 return std::all_of(Scheme.begin() + 1, Scheme.end(), [](char C) {
tools/clang/tools/extra/clangd/index/CanonicalIncludes.cpp 54 auto SubPath = Header.substr(It->data() - Header.begin());
tools/clang/tools/extra/clangd/index/Serialization.cpp 48 Reader(llvm::StringRef Data) : Begin(Data.begin()), End(Data.end()) {}
tools/clang/tools/extra/clangd/index/SymbolID.cpp 39 for (char C : Str)
tools/clang/tools/extra/clangd/refactor/tweaks/RawStringLiteral.cpp 74 for (char C : Content)
tools/clang/tools/extra/clangd/tool/ClangdMain.cpp 394 llvm::SmallVector<char, 16> Path(Body.begin(), Body.end());
tools/clang/tools/extra/clangd/unittests/CodeCompleteTests.cpp 2126 EXPECT_EQ(WantQualifier.begin(), Prefix.Qualifier.begin()) << Case;
2126 EXPECT_EQ(WantQualifier.begin(), Prefix.Qualifier.begin()) << Case;
2128 EXPECT_EQ(WantName.begin(), Prefix.Name.begin()) << Case;
2128 EXPECT_EQ(WantName.begin(), Prefix.Name.begin()) << Case;
tools/clang/tools/extra/clangd/unittests/TestFS.cpp 110 llvm::SmallString<16> Path(Body.begin(), Body.end());
tools/clang/tools/libclang/CIndex.cpp 6722 Buffer.begin(), Buffer.data() + BeginLocInfo.second, Buffer.end());
7461 Buffer.begin(), Buffer.data() + BeginLocInfo.second,
tools/clang/tools/libclang/CIndexCodeCompletion.cpp 987 Buffer.append(Old.begin(), Old.end());
988 Buffer.append(New.begin(), New.end());
tools/clang/tools/libclang/CXIndexDataConsumer.cpp 406 std::uninitialized_copy(Str.begin(), Str.end(), buf);
tools/clang/unittests/Lex/HeaderMapTest.cpp 56 for (char C : Str)
69 std::copy(S.begin(), S.end(), File.Bytes + SI);
tools/clang/utils/TableGen/ClangDiagnosticsEmitter.cpp 772 for (auto K : Str) {
1300 for (llvm::StringRef::iterator I = name.begin(), E = name.end(); I != E; ++I)
tools/clang/utils/TableGen/ClangOptionDocEmitter.cpp 181 for (auto K : Str) {
190 for (auto I = OptionName.begin(), E = OptionName.end(); I != E; ++I)
192 return OptionName.substr(0, I - OptionName.begin());
199 for (char C : Option->getValueAsString("Name"))
tools/dsymutil/DwarfLinker.cpp 1159 OutputBuffer.append(Bytes.begin(), Bytes.end());
2462 for (auto &C : File)
tools/dsymutil/MachOUtils.cpp 166 StringRef Name = StringRef(Strings.begin() + NList.n_strx);
tools/gold/gold-plugin.cpp 694 std::all_of(S.begin() + 1, S.end(),
tools/lld/COFF/Writer.cpp 1078 strtab.insert(strtab.end(), str.begin(), str.end());
tools/lld/Common/Strings.cpp 70 std::all_of(s.begin() + 1, s.end(),
tools/lld/ELF/EhFrame.cpp 178 for (char c : aug) {
tools/lld/ELF/InputSection.cpp 1214 const char *b = s.begin() + i;
tools/lld/ELF/OutputSections.cpp 397 return std::regex_match(s.begin(), s.end(), re);
403 return std::regex_match(s.begin(), s.end(), re);
tools/lld/ELF/SyntheticSections.cpp 2356 for (uint8_t c : name)
2515 for (uint8_t c : s)
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileBinaryReader.cpp 60 const char* p = lcRange.begin();
88 reinterpret_cast<const any_relocation_info*>(buffer.begin()+reloff);
158 fileBuffer.begin());
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileBinaryUtils.h 196 memcpy(s, str.begin(), (str.size() > 16) ? 16: str.size());
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileBinaryWriter.cpp 846 memcpy(lc + sizeof(dylib_command), path.begin(), path.size());
973 memcpy(lc+sizeof(dylib_command), dep.path.begin(), dep.path.size());
987 memcpy(lc+sizeof(rpath_command), path.begin(), path.size());
1071 memcpy(&_buffer[strOffset], sym.name.begin(), sym.name.size());
tools/lldb/source/Interpreter/CommandInterpreter.cpp 2031 init_file.assign(s.begin(), s.end());
tools/lldb/source/Plugins/Disassembler/llvm/DisassemblerLLVMC.cpp 799 llvm::StringRef::const_iterator osi = operands_ref.begin();
tools/lldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp 306 AbstractManglingParser::reset(Mangled.begin(), Mangled.end());
307 Written = Mangled.begin();
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp 94 for (char c : payload)
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp 3311 for (const char &c : value) {
tools/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h 173 str = ref.begin();
tools/lldb/source/Plugins/SymbolFile/NativePDB/PdbAstBuilder.cpp 221 StringView sv(record.UniqueName.begin(), record.UniqueName.size());
543 StringView name{pub->Name.begin(), pub->Name.size()};
tools/lldb/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.cpp 538 StringView sv(record.UniqueName.begin(), record.UniqueName.size());
tools/lldb/source/Utility/Environment.cpp 20 Next = std::copy(Key.begin(), Key.end(), Next);
22 Next = std::copy(Value.begin(), Value.end(), Next);
tools/lldb/source/Utility/FileSpec.cpp 393 path.append(m_directory.GetStringRef().begin(),
401 path.append(m_filename.GetStringRef().begin(),
tools/lldb/source/Utility/Stream.cpp 436 for (char c : s)
tools/lldb/source/Utility/StringExtractor.cpp 32 m_packet.assign(packet_str.begin(), packet_str.end());
tools/lldb/source/Utility/StringExtractorGDBRemote.cpp 27 for (auto e : err_string)
557 for (const char ch : response.GetStringRef()) {
tools/lldb/source/Utility/TildeExpressionResolver.cpp 80 Output.append(Expr.begin(), Expr.end());
91 Output.append(Expr.begin() + Left.size(), Expr.end());
tools/lldb/unittests/TestingSupport/MockTildeExpressionResolver.cpp 47 Output.append(Dir.begin(), Dir.end());
54 Output.append(User.getValue().begin(), User.getValue().end());
74 QualifiedName.append(User.getKey().begin(), User.getKey().end());
tools/llvm-cat/llvm-cat.cpp 65 Buffer.insert(Buffer.end(), BitcodeMod.getBuffer().begin(),
tools/llvm-cov/SourceCoverageViewHTML.cpp 29 for (char C : Str) {
tools/llvm-cxxfilt/llvm-cxxfilt.cpp 93 const auto Head = Source.begin();
tools/llvm-exegesis/lib/Analysis.cpp 31 if (std::find(S.begin(), S.end(), kCsvSep) == S.end()) {
36 for (const char C : S) {
47 for (const char C : S) {
61 for (const char C : S) {
tools/llvm-exegesis/lib/BenchmarkResult.cpp 128 Value = strtod(String.begin(), &EndPointer);
tools/llvm-exegesis/lib/BenchmarkRunner.cpp 111 InstrBenchmark.AssembledSnippet.assign(FnBytes.begin(), FnBytes.end());
tools/llvm-lto2/llvm-lto2.cpp 191 for (char C : Rest) {
tools/llvm-modextract/llvm-modextract.cpp 63 Result.append(Ms[ModuleIndex].getBuffer().begin(),
tools/llvm-objcopy/COFF/Writer.cpp 328 std::copy(S.AuxFile.begin(), S.AuxFile.end(), Ptr);
tools/llvm-objdump/COFFDump.cpp 484 Result.append(SymName.begin(), SymName.end());
tools/llvm-objdump/WasmDump.cpp 45 Result.append(SymName.begin(), SymName.end());
tools/llvm-rc/ResourceFileWriter.cpp 155 for (char C : Str)
159 for (char C : Str) {
1525 Path.assign(InputFileDir.begin(), InputFileDir.end());
1532 Path.assign(ForceInclude.begin(), ForceInclude.end());
tools/llvm-readobj/COFFDumper.cpp 323 assert(SectionContents.begin() < Block.begin() &&
323 assert(SectionContents.begin() < Block.begin() &&
tools/llvm-strings/llvm-strings.cpp 82 const char *B = Contents.begin();
84 for (P = Contents.begin(), E = Contents.end(); P < E; ++P) {
unittests/ADT/HashingTest.cpp 269 hash_code hash = hash_combine_range(str.begin(), str.end());
unittests/ADT/SmallStringTest.cpp 54 theString.assign(abc.begin(), abc.end());
68 SmallVector<char, 10> abcVec(abc.begin(), abc.end());
76 theString.append(abc.begin(), abc.end());
77 theString.append(abc.begin(), abc.end());
92 SmallVector<char, 10> abcVec(abc.begin(), abc.end());
unittests/ADT/StringRefTest.cpp 75 for (const char *it = S.begin(), *ie = S.end(); it != ie; ++it, ++p)
unittests/DebugInfo/PDB/HashTableTest.cpp 235 Buffer.insert(Buffer.end(), S.begin(), S.end());
unittests/ExecutionEngine/Orc/RemoteObjectLayerTest.cpp 127 std::copy(ObjBytes.begin(), ObjBytes.end(), ObjContents.begin());
142 EXPECT_TRUE(std::equal(RPCObjContents.begin(), RPCObjContents.end(),
unittests/Support/Path.cpp 1101 std::copy(Val.begin(), Val.end(), mfr.data());
usr/include/c++/7.4.0/bits/range_access.h 48 begin(_Container& __cont) -> decltype(__cont.begin())
49 { return __cont.begin(); }
58 begin(const _Container& __cont) -> decltype(__cont.begin())
59 { return __cont.begin(); }
utils/TableGen/AsmMatcherEmitter.cpp 1104 for (StringRef::iterator it = Str.begin(), ie = Str.end(); it != ie; ++it) {
utils/TableGen/AsmWriterEmitter.cpp 694 for (StringRef::iterator I = ASM.begin(), E = ASM.end(); I != E;) {
utils/TableGen/CodeGenDAGPatterns.h 683 void setName(StringRef N) { Name.assign(N.begin(), N.end()); }
utils/TableGen/CodeGenSchedule.cpp 62 for (char C : S) {
utils/TableGen/InstrDocsEmitter.cpp 45 for (char C : Str) {
utils/unittest/googletest/include/gtest/gtest-printers.h 377 for (typename C::const_iterator it = container.begin();
utils/yaml-bench/YAMLBench.cpp 151 for (llvm::StringRef::iterator I = JSONText.begin(),