|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
include/llvm/ADT/StringRef.h 610 return drop_back(size() - N);
683 *this = drop_back(Suffix.size());
824 return drop_back(Length - std::min(Length, find_last_not_of(Char) + 1));
831 return drop_back(Length - std::min(Length, find_last_not_of(Chars) + 1));
include/llvm/Support/TypeName.h 37 return Name.drop_back(1);
lib/DebugInfo/CodeView/TypeIndex.cpp 83 return SimpleTypeName.Name.drop_back(1);
lib/DebugInfo/CodeView/TypeRecordMapping.cpp 163 N = N.drop_back(DropN);
164 U = U.drop_back(DropU);
lib/DebugInfo/Symbolize/Symbolize.cpp 502 SymbolName = SymbolName.drop_back();
lib/IR/Constants.cpp 2795 return Str.drop_back().find(0) == StringRef::npos;
lib/MC/MCParser/AsmLexer.cpp 312 if (Result.drop_back().getAsInteger(Radix, Value))
lib/MC/MCParser/ELFAsmParser.cpp 483 return SectionName.startswith(Prefix) || SectionName == Prefix.drop_back();
lib/Object/Archive.cpp 223 return Name.drop_back(1);
lib/Object/COFFImportFile.cpp 149 : Machine(M), ImportName(S), Library(S.drop_back(4)),
lib/Remarks/YAMLRemarkParser.cpp 304 Result = Result.drop_back();
451 Result = Result.drop_back();
lib/Support/CachePruning.cpp 99 StringRef SizeStr = Value.drop_back();
114 Value = Value.drop_back();
118 Value = Value.drop_back();
122 Value = Value.drop_back();
lib/Support/DebugCounter.cpp 88 auto CounterName = CounterPair.first.drop_back(5);
101 auto CounterName = CounterPair.first.drop_back(6);
lib/Support/GlobPattern.cpp 120 if (S.endswith("*") && !S.endswith("\\*") && !hasWildcard(S.drop_back())) {
121 Pat.Prefix = S.drop_back();
lib/Support/YAMLParser.cpp 2378 StringRef StrCopy = NullTerminatedStr.copy(NodeAllocator).drop_back();
lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp 5173 Str = Str.drop_back(2).drop_front(4);
lib/Target/Hexagon/AsmParser/HexagonAsmParser.cpp 1465 .drop_back(myImmStr.size())
1471 .drop_back(myImmStr.size())
lib/Target/Hexagon/HexagonAsmPrinter.cpp 200 Name.drop_back(ImmString.size()).str() + ImmString;
lib/Target/MSP430/AsmParser/MSP430AsmParser.cpp 378 Name = Name.drop_back(2);
lib/Target/X86/AsmParser/X86AsmParser.cpp 2495 unsigned SuffixSize = PatchedName.drop_back().back() == 'u' ? 2 : 1;
2524 unsigned SuffixSize = PatchedName.drop_back().back() == 'u' ? 2 : 1;
lib/TextAPI/MachO/Target.cpp 40 PlatformStr = PlatformStr.drop_front().drop_back();
lib/Transforms/Utils/SimplifyLibCalls.cpp 2360 FormatStr = FormatStr.drop_back();
tools/clang/lib/ASTMatchers/ASTMatchersInternal.cpp 360 Name = Name.drop_back(Suffix.size());
364 Name = Name.drop_back(2);
530 FullName.drop_back(Pattern.size()).endswith("::")) {
tools/clang/lib/Driver/ToolChains/Gnu.cpp 1781 GCCToolchainDir = GCCToolchainDir.drop_back(); // remove the /
tools/clang/lib/Format/ContinuationIndenter.cpp 1517 Current.TokenText.substr(OldPrefixSize).drop_back(OldSuffixSize);
tools/clang/lib/Format/FormatToken.h 466 Content = Content.drop_back(1);
tools/clang/lib/Frontend/CompilerInstance.cpp 758 StringRef(OutFile).drop_back(OutputExtension.size());
tools/clang/lib/Frontend/InitPreprocessor.cpp 32 MacroBody = MacroBody.drop_back();
tools/clang/lib/Frontend/TextDiagnostic.cpp 1209 Line = Line.drop_back();
tools/clang/lib/Lex/HeaderSearch.cpp 704 NewInclude += StringRef(ToFramework).drop_back(10); // drop .framework
tools/clang/lib/Lex/PPDirectives.cpp 137 TopLevelName = TopLevelName.drop_back(8);
1783 Filename = Filename.drop_back();
2433 TrimmedValue = TrimmedValue.drop_back(2);
tools/clang/lib/Lex/PPMacroExpansion.cpp 1582 OS << '"' << StringRef(Result).drop_back() << '"';
tools/clang/lib/Parse/ParseDecl.cpp 74 return Name.drop_front(2).drop_back(2);
tools/clang/lib/Sema/SemaChecking.cpp 444 FunctionName = FunctionName.drop_back(std::strlen("_chk"));
tools/clang/lib/Sema/SemaDecl.cpp 814 StringRef TagName = FixItTagName.drop_back();
tools/clang/lib/Sema/SemaDeclAttr.cpp 1631 AttrName = AttrName.drop_front(2).drop_back(2);
5334 StrRef = StrRef.drop_front().drop_back();
tools/clang/lib/Sema/SemaType.cpp 3821 InsertionText = InsertionText.drop_back();
3824 InsertionText = InsertionText.drop_back().drop_front();
3829 InsertionText = InsertionText.drop_back().drop_front();
tools/clang/lib/Serialization/ASTReader.cpp 1459 return llvm::MemoryBuffer::getMemBuffer(Blob.drop_back(1), Name, true);
tools/clang/lib/Serialization/ASTWriter.cpp 2251 llvm::Error E = llvm::zlib::compress(Blob.drop_back(1), CompressedBuffer);
tools/clang/lib/Tooling/Core/Lookup.cpp 134 auto UnspelledSpecifier = QName.drop_back(Spelling.size());
tools/clang/lib/Tooling/FileMatchTrie.cpp 75 StringRef(Path).drop_back(ConsumedLength)));
79 StringRef(NewPath).drop_back(ConsumedLength)));
113 StringRef Element(llvm::sys::path::filename(FileName.drop_back(
tools/clang/lib/Tooling/Inclusions/HeaderIncludes.cpp 220 llvm::sys::path::stem(IncludeName.drop_front(1).drop_back(1));
tools/clang/tools/extra/clang-change-namespace/ChangeNamespace.cpp 384 Prefix = (StringRef(FullOldNs).drop_back(DiffOldNamespace.size()) +
844 StringRef(AliasQualifiedName).drop_back(AliasName.size() + 2);
tools/clang/tools/extra/clang-tidy/readability/IdentifierNamingCheck.cpp 272 Name = Name.drop_back(Style.Suffix.size());
tools/clang/tools/extra/clangd/CodeComplete.cpp 1717 Rest = Rest.drop_back();
1723 Rest = Rest.drop_back();
tools/clang/tools/extra/clangd/Format.cpp 79 Rest = Rest.drop_back();
tools/clang/tools/extra/clangd/ParsedAST.cpp 171 llvm::StringRef(Inc.Written).drop_front().drop_back();
tools/clang/tools/extra/clangd/XRefs.cpp 1274 Output.appendInlineCode(llvm::StringRef(LocalScope).drop_back(2));
1278 Output.appendInlineCode(llvm::StringRef(*NamespaceScope).drop_back(2));
tools/clang/tools/extra/clangd/index/Background.cpp 190 return Path.drop_back(llvm::sys::path::extension(Path).size());
tools/clang/tools/extra/clangd/unittests/TweakTesting.cpp 49 return Outer.drop_front(Wrapping.first.size()).drop_back(Wrapping.second.size());
tools/clang/utils/TableGen/ClangDiagnosticsEmitter.cpp 886 T = T.drop_back();
tools/clang/utils/TableGen/ClangTypeNodesEmitter.cpp 79 return fullName.drop_back(4);
tools/clang/utils/TableGen/NeonEmitter.cpp 1392 N = N.drop_back(2);
tools/dsymutil/BinaryHolder.cpp 25 StringRef Object = Filename.substr(Archive.size() + 1).drop_back();
tools/llc/llc.cpp 198 OutputFilename = IFN.drop_back(3);
200 OutputFilename = IFN.drop_back(4);
tools/lld/COFF/Driver.cpp 114 s = s.drop_back(2);
117 return !s.empty() && s.drop_back().endswith("crtend");
tools/lld/Common/Reproduce.cpp 36 res = root.drop_back();
tools/lld/ELF/Driver.cpp 125 s = s.drop_back(5);
tools/lld/ELF/ScriptParser.cpp 1066 if (!to_integer(tok.drop_back(), val, 16))
1073 if (!to_integer(tok.drop_back(), val, 10))
1078 if (!to_integer(tok.drop_back(), val, 10))
tools/lld/ELF/Writer.cpp 91 return name.startswith(prefix) || name == prefix.drop_back();
120 return v.drop_back();
127 return v.drop_back();
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileBinaryWriter.cpp 1275 bNodeStr = bNodeStr.drop_back(edgeStr.size()-n).copy(allocator);
tools/lld/tools/lld/lld.cpp 132 arg0 = arg0.drop_back(4);
tools/lldb/source/Interpreter/OptionValueString.cpp 59 value = value.drop_front().drop_back();
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp 666 to_remove = to_remove.drop_back();
676 cmd = cmd.drop_back();
tools/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp 1226 const ConstString base_kernel(name_ref.drop_back(expand.size()));
tools/lldb/source/Symbol/ObjectFile.cpp 583 llvm::StringRef object = path_with_object.substr(archive.size() + 1).drop_back();
tools/llvm-ar/llvm-ar.cpp 1017 Rest = Rest.drop_front().drop_back();
tools/llvm-as/llvm-as.cpp 78 OutputFilename = (IFN.endswith(".ll") ? IFN.drop_back(3) : IFN).str();
tools/llvm-dis/llvm-dis.cpp 182 OutputFilename = (IFN.endswith(".bc") ? IFN.drop_back(3) : IFN).str();
tools/llvm-jitlink/llvm-jitlink.cpp 370 SizeString = SizeString.drop_back(2).rtrim();
373 SizeString = SizeString.drop_back(2).rtrim();
376 SizeString = SizeString.drop_back(2).rtrim();
tools/llvm-rc/ResourceScriptToken.cpp 39 Representation = Representation.drop_back(1);
unittests/ADT/STLExtrasTest.cpp 221 static StringRef apply_one(StringRef S) { return S.drop_back(); }
unittests/ADT/StringRefTest.cpp 958 Dropped = Test.drop_back(5);
964 Dropped = Test.drop_back(0);
970 Dropped = Test.drop_back(Test.size());