Home
last modified time | relevance | path

Searched refs:isIf (Results 1 – 4 of 4) sorted by relevance

/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DSourceCode.cpp1187 bool isIf(llvm::StringRef Line) { in isIf() function
1214 if (isIf(Line) && isErrorAboutInclude(Content.split('\n').first)) in isDontIncludeMeHeader()
/llvm-project-15.0.7/clang/lib/Format/
H A DTokenAnnotator.cpp274 OpeningParen.Previous->isIf())) { in parseParens()
3177 (Left.Previous->is(tok::kw_for) || Left.Previous->isIf())) { in splitPenalty()
3575 Left.isIf(Line.Type != LT_PreprocessorDirective)) { in spaceRequiredBetween()
4866 return !(Previous && (Previous->is(tok::kw_for) || Previous->isIf())); in canBreakBefore()
H A DFormatToken.h530 bool isIf(bool AllowConstexprMacro = true) const {
H A DContinuationIndenter.cpp787 (Previous.Previous->is(tok::kw_for) || Previous.Previous->isIf())) { in addTokenOnCurrentLine()