Home
last modified time | relevance | path

Searched refs:HeaderStem (Results 1 – 2 of 2) sorted by relevance

/external/llvm-project/clang/lib/Tooling/Inclusions/
DHeaderIncludes.cpp243 StringRef HeaderStem = llvm::sys::path::stem(IncludeName); in isMainHeader() local
255 if (MatchingFileStem.startswith_lower(HeaderStem)) in isMainHeader()
257 else if (FileStem.equals_lower(HeaderStem)) in isMainHeader()
260 llvm::Regex MainIncludeRegex(HeaderStem.str() + Style.IncludeIsMainRegex, in isMainHeader()
/external/clang/lib/Format/
DFormat.cpp1300 StringRef HeaderStem = in isMainHeader() local
1302 if (FileStem.startswith(HeaderStem)) { in isMainHeader()
1304 (HeaderStem + Style.IncludeIsMainRegex).str()); in isMainHeader()