Home
last modified time | relevance | path

Searched refs:endswith_insensitive (Results 1 – 25 of 26) sorted by relevance

12

/llvm-project-15.0.7/lldb/source/Plugins/Language/ObjCPlusPlus/
H A DObjCPlusPlusLanguage.cpp22 if (file_path.endswith_insensitive(suffix)) in LLDB_PLUGIN_DEFINE()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DIterator.cpp32 if (!(Name.endswith_insensitive("iterator") || in isIterator()
33 Name.endswith_insensitive("iter") || Name.endswith_insensitive("it"))) in isIterator()
H A DContainerModeling.cpp752 return IdInfo->getName().endswith_insensitive("begin"); in isBeginCall()
759 return IdInfo->getName().endswith_insensitive("end"); in isEndCall()
/llvm-project-15.0.7/llvm/tools/llvm-cov/
H A Dllvm-cov.cpp62 if (sys::path::stem(argv[0]).endswith_insensitive("gcov")) in main()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/
H A DInconsistentDeclarationParameterNameCheck.cpp97 L.endswith_insensitive(R) || R.endswith_insensitive(L); in nameMatch()
H A DSuspiciousCallArgumentCheck.cpp170 if (Longer.endswith_insensitive(Shorter)) in applySuffixHeuristic()
/llvm-project-15.0.7/lld/Common/
H A DArgs.cpp92 if (path.endswith_insensitive(".exe")) in getFilenameWithoutExe()
/llvm-project-15.0.7/llvm/unittests/ADT/
H A DStringRefTest.cpp424 EXPECT_TRUE(Str.endswith_insensitive("")); in TEST()
425 EXPECT_TRUE(Str.endswith_insensitive("lo")); in TEST()
426 EXPECT_TRUE(Str.endswith_insensitive("LO")); in TEST()
427 EXPECT_TRUE(Str.endswith_insensitive("ELlo")); in TEST()
428 EXPECT_FALSE(Str.endswith_insensitive("helloworld")); in TEST()
429 EXPECT_FALSE(Str.endswith_insensitive("hi")); in TEST()
/llvm-project-15.0.7/clang/lib/Format/
H A DFormat.cpp3458 if (FileName.endswith_insensitive(".js") || in getLanguageByFileName()
3459 FileName.endswith_insensitive(".mjs") || in getLanguageByFileName()
3460 FileName.endswith_insensitive(".ts")) { in getLanguageByFileName()
3465 if (FileName.endswith_insensitive(".proto") || in getLanguageByFileName()
3475 if (FileName.endswith_insensitive(".td")) in getLanguageByFileName()
3477 if (FileName.endswith_insensitive(".cs")) in getLanguageByFileName()
3479 if (FileName.endswith_insensitive(".json")) in getLanguageByFileName()
3481 if (FileName.endswith_insensitive(".sv") || in getLanguageByFileName()
3482 FileName.endswith_insensitive(".svh") || in getLanguageByFileName()
3483 FileName.endswith_insensitive(".v") || in getLanguageByFileName()
[all …]
/llvm-project-15.0.7/lld/tools/lld/
H A Dlld.cpp134 if (arg0.endswith_insensitive(".exe")) in parseFlavor()
/llvm-project-15.0.7/llvm/include/llvm/ADT/
H A DStringRef.h308 bool endswith_insensitive(StringRef Suffix) const;
717 if (!endswith_insensitive(Suffix)) in consume_back_insensitive()
H A DStringSwitch.h150 if (!Result && Str.endswith_insensitive(S)) in EndsWithLower()
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DCompileCommands.cpp402 if (Argv0.endswith_insensitive(".exe")) in getDriverMode()
404 if (Argv0.endswith_insensitive("cl")) in getDriverMode()
/llvm-project-15.0.7/clang/lib/Analysis/
H A DRetainSummaryManager.cpp193 FName.endswith_insensitive("retain"); in isRetain()
198 FName.endswith_insensitive("release"); in isRelease()
203 FName.endswith_insensitive("autorelease"); in isAutorelease()
/llvm-project-15.0.7/lld/ELF/
H A DScriptParser.cpp1232 if (tok.endswith_insensitive("H")) { in parseInt()
1239 if (tok.endswith_insensitive("K")) { in parseInt()
1244 if (tok.endswith_insensitive("M")) { in parseInt()
/llvm-project-15.0.7/lld/MinGW/
H A DDriver.cpp415 if (StringRef(a->getValue()).endswith_insensitive(".def")) in link()
/llvm-project-15.0.7/llvm/lib/Support/
H A DStringRef.cpp50 bool StringRef::endswith_insensitive(StringRef Suffix) const { in endswith_insensitive() function in StringRef
/llvm-project-15.0.7/llvm/lib/DebugInfo/PDB/Native/
H A DInputFile.cpp565 if (Name.endswith_insensitive(".dll")) in isMyCode()
/llvm-project-15.0.7/llvm/lib/Target/MSP430/AsmParser/
H A DMSP430AsmParser.cpp395 if (Name.endswith_insensitive(".w")) in ParseInstruction()
/llvm-project-15.0.7/llvm/tools/llvm-jitlink/
H A Dllvm-jitlink.cpp698 if (SizeString.endswith_insensitive("kb")) in getSlabAllocSize()
700 else if (SizeString.endswith_insensitive("mb")) { in getSlabAllocSize()
703 } else if (SizeString.endswith_insensitive("gb")) { in getSlabAllocSize()
/llvm-project-15.0.7/lldb/source/Plugins/Process/minidump/
H A DProcessMinidump.cpp545 if (llvm::StringRef(name).endswith_insensitive("wow64.dll")) { in ReadModuleList()
/llvm-project-15.0.7/lldb/source/Plugins/Language/ObjC/
H A DObjCLanguage.cpp1153 if (file_path.endswith_insensitive(suffix)) in IsSourceFile()
/llvm-project-15.0.7/lldb/source/Plugins/Language/CPlusPlus/
H A DCPlusPlusLanguage.cpp1400 if (file_path.endswith_insensitive(suffix)) in IsSourceFile()
/llvm-project-15.0.7/lld/COFF/
H A DDriver.cpp230 if (filename.endswith_insensitive(".dll")) { in addBuffer()
492 if (path.endswith_insensitive(".lib")) in findFile()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaCodeComplete.cpp9982 const bool IsHeader = Filename.endswith_insensitive(".h") || in CodeCompleteIncludedFile()
9983 Filename.endswith_insensitive(".hh") || in CodeCompleteIncludedFile()
9984 Filename.endswith_insensitive(".hpp") || in CodeCompleteIncludedFile()
9985 Filename.endswith_insensitive(".inc") || in CodeCompleteIncludedFile()

12