Home
last modified time | relevance | path

Searched refs:ends_with (Results 1 – 25 of 165) sorted by relevance

1234567

/freebsd-14.2/contrib/llvm-project/clang/lib/Tooling/Inclusions/
H A DHeaderIncludes.cpp199 IsMainFile = FileName.ends_with(".c") || FileName.ends_with(".cc") || in IncludeCategoryManager()
200 FileName.ends_with(".cpp") || FileName.ends_with(".c++") || in IncludeCategoryManager()
201 FileName.ends_with(".cxx") || FileName.ends_with(".m") || in IncludeCategoryManager()
202 FileName.ends_with(".mm"); in IncludeCategoryManager()
/freebsd-14.2/contrib/llvm-project/lldb/source/Utility/
H A DCompletionRequest.cpp39 if (partial_command.ends_with(" ") && in CompletionRequest()
40 !GetCursorArgumentPrefix().ends_with(" ")) in CompletionRequest()
H A DNameMatches.cpp27 return name.ends_with(match); in NameMatches()
H A DXcodeSDK.cpp163 if (llvm::StringRef(m_name).ends_with(".sdk")) in Merge()
317 if (it->ends_with(".app")) { in FindXcodeContentsDirectoryInPath()
/freebsd-14.2/contrib/llvm-project/llvm/utils/TableGen/
H A DX86CompressEVEXTablesEmitter.cpp164 Rec->getValueAsBit("isAsmParserOnly") || Name.ends_with("_REV")) in run()
200 } else if (Name.ends_with("_EVEX")) { in run()
203 } else if (Name.ends_with("_ND")) { in run()
H A DX86FoldTablesEmitter.cpp499 RegInstName.ends_with("rkz") ? 2 : (RegInstName.ends_with("rk") ? 1 : 0); in addEntryWithFlags()
694 if (RegInstName.ends_with("_REV") || RegInstName.ends_with("_alt")) in run()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Support/
H A DDebugCounter.cpp103 if (CounterPair.first.ends_with("-skip")) { in push_back()
116 } else if (CounterPair.first.ends_with("-count")) { in push_back()
/freebsd-14.2/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/
H A DTpiHashing.cpp22 Name.ends_with("::<unnamed-tag>") || Name.ends_with("::__unnamed"); in isAnonymous()
/freebsd-14.2/contrib/llvm-project/llvm/lib/TargetParser/
H A DARMTargetParserCommon.cpp85 else if (A.ends_with("eb")) in getCanonicalArchName()
124 if (Arch.ends_with("eb")) in parseArchEndian()
/freebsd-14.2/contrib/llvm-project/clang/lib/Basic/
H A DAttributes.cpp36 if (Name.size() >= 4 && Name.starts_with("__") && Name.ends_with("__")) in hasAttribute()
107 AttrName.ends_with("__")) in normalizeAttrName()
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DPassInstrumentation.cpp39 [Prefix](StringRef S) { return Prefix.ends_with(S); }); in isSpecialPass()
/freebsd-14.2/contrib/llvm-project/llvm/lib/TextAPI/
H A DUtils.cpp24 if (!ParentPath.ends_with(Filename.str() + ".framework")) { in replace_extension()
H A DTarget.cpp31 if (PlatformStr.starts_with("<") && PlatformStr.ends_with(">")) { in create()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ADT/
H A DSmallString.h125 [[nodiscard]] bool ends_with(StringRef Suffix) const { in ends_with() function
126 return str().ends_with(Suffix); in ends_with()
H A DStringRef.h271 [[nodiscard]] bool ends_with(StringRef Suffix) const { in ends_with() function
279 return ends_with(Suffix); in endswith()
652 if (!ends_with(Suffix)) in consume_back()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Support/
H A DTypeName.h36 assert(Name.ends_with("]") && "Name doesn't end in the substitution key!"); in getTypeName()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVCallLowering.cpp214 if (!MDKernelArgType || (!MDKernelArgType->getString().ends_with("*") && in getArgSPIRVType()
215 !MDKernelArgType->getString().ends_with("_t"))) in getArgSPIRVType()
218 if (MDKernelArgType->getString().ends_with("*")) in getArgSPIRVType()
223 if (MDKernelArgType->getString().ends_with("_t")) in getArgSPIRVType()
/freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/Models/
H A DChromiumCheckModel.cpp46 if (M->getDeclName().isIdentifier() && M->getName().ends_with("Check")) in isCheckLikeMethod()
/freebsd-14.2/contrib/llvm-project/lld/Common/
H A DReproduce.cpp35 if (root.ends_with(":")) in relativeToRoot()
H A DStrings.cpp24 Pattern.ends_with("\"")) { in SingleStringMatcher()
/freebsd-14.2/contrib/llvm-project/llvm/tools/llc/
H A Dllc.cpp268 if (IFN.ends_with(".bc") || IFN.ends_with(".ll")) in GetOutputStream()
270 else if (IFN.ends_with(".mir")) in GetOutputStream()
565 (InputLanguage == "" && StringRef(InputFilename).ends_with(".mir"))) { in compileModule()
/freebsd-14.2/contrib/llvm-project/clang/lib/Frontend/
H A DVerifyDiagnosticConsumer.cpp448 if (DToken.ends_with("-re")) { in ParseDirective()
457 if (DToken.ends_with(DType = "-error")) in ParseDirective()
459 else if (DToken.ends_with(DType = "-warning")) in ParseDirective()
461 else if (DToken.ends_with(DType = "-remark")) in ParseDirective()
463 else if (DToken.ends_with(DType = "-note")) in ParseDirective()
465 else if (DToken.ends_with(DType = "-no-diagnostics")) { in ParseDirective()
/freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/
H A DCocoaConventions.cpp29 if (TDName.starts_with(Prefix) && TDName.ends_with("Ref")) in isRefType()
/freebsd-14.2/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/
H A DDWARFTypePrinter.cpp11 if (!TagStr.starts_with(Prefix) || !TagStr.ends_with(Suffix)) in appendTypeTagName()
193 EndedWithTemplate = Name.ends_with(">"); in appendUnqualifiedNameBefore()
198 if (Name.ends_with(">")) in appendUnqualifiedNameBefore()
/freebsd-14.2/contrib/llvm-project/clang/utils/TableGen/
H A DASTTableGen.cpp36 if (!nodeName.ends_with(suffix)) { in removeExpectedNodeNameSuffix()

1234567