| /freebsd-14.2/contrib/llvm-project/clang/lib/Tooling/Inclusions/ |
| H A D | HeaderIncludes.cpp | 199 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 D | CompletionRequest.cpp | 39 if (partial_command.ends_with(" ") && in CompletionRequest() 40 !GetCursorArgumentPrefix().ends_with(" ")) in CompletionRequest()
|
| H A D | NameMatches.cpp | 27 return name.ends_with(match); in NameMatches()
|
| H A D | XcodeSDK.cpp | 163 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 D | X86CompressEVEXTablesEmitter.cpp | 164 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 D | X86FoldTablesEmitter.cpp | 499 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 D | DebugCounter.cpp | 103 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 D | TpiHashing.cpp | 22 Name.ends_with("::<unnamed-tag>") || Name.ends_with("::__unnamed"); in isAnonymous()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/TargetParser/ |
| H A D | ARMTargetParserCommon.cpp | 85 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 D | Attributes.cpp | 36 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 D | PassInstrumentation.cpp | 39 [Prefix](StringRef S) { return Prefix.ends_with(S); }); in isSpecialPass()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/TextAPI/ |
| H A D | Utils.cpp | 24 if (!ParentPath.ends_with(Filename.str() + ".framework")) { in replace_extension()
|
| H A D | Target.cpp | 31 if (PlatformStr.starts_with("<") && PlatformStr.ends_with(">")) { in create()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ADT/ |
| H A D | SmallString.h | 125 [[nodiscard]] bool ends_with(StringRef Suffix) const { in ends_with() function 126 return str().ends_with(Suffix); in ends_with()
|
| H A D | StringRef.h | 271 [[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 D | TypeName.h | 36 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 D | SPIRVCallLowering.cpp | 214 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 D | ChromiumCheckModel.cpp | 46 if (M->getDeclName().isIdentifier() && M->getName().ends_with("Check")) in isCheckLikeMethod()
|
| /freebsd-14.2/contrib/llvm-project/lld/Common/ |
| H A D | Reproduce.cpp | 35 if (root.ends_with(":")) in relativeToRoot()
|
| H A D | Strings.cpp | 24 Pattern.ends_with("\"")) { in SingleStringMatcher()
|
| /freebsd-14.2/contrib/llvm-project/llvm/tools/llc/ |
| H A D | llc.cpp | 268 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 D | VerifyDiagnosticConsumer.cpp | 448 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 D | CocoaConventions.cpp | 29 if (TDName.starts_with(Prefix) && TDName.ends_with("Ref")) in isRefType()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/ |
| H A D | DWARFTypePrinter.cpp | 11 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 D | ASTTableGen.cpp | 36 if (!nodeName.ends_with(suffix)) { in removeExpectedNodeNameSuffix()
|