Searched refs:endsWith (Results 1 – 5 of 5) sorted by relevance
/freebsd/contrib/llvm-project/clang/lib/Format/ |
H A D | TokenAnnotator.h | 127 template <typename... Ts> bool endsWith(Ts... Tokens) const { in endsWith() function 145 return !endsWith(tok::semi); in mightBeFunctionDefinition()
|
H A D | UnwrappedLineFormatter.cpp | 804 if (Line.endsWith(tok::l_brace)) { in tryMergeSimpleBlock() 812 (I[-1]->endsWith(tok::kw_else) || IsCtrlStmt(*I[-1]))) { in tryMergeSimpleBlock()
|
H A D | TokenAnnotator.cpp | 3670 Line.endsWith(TT_FunctionLBrace) || isCtorOrDtorName(Tok))) { in annotate() 3817 !Line.endsWith(tok::semi)) { in isFunctionDeclarationName() 3908 Line.endsWith(tok::semi, tok::r_brace)) { in calculateFormattingInformation()
|
H A D | Format.cpp | 2707 } else if (!AnnotatedLines[CurrentLine]->endsWith(tok::l_brace)) { in checkEmptyNamespace()
|
/freebsd/contrib/bsnmp/tests/ |
H A D | catch.hpp | 3156 bool endsWith( std::string const& s, std::string const& suffix ); 3157 bool endsWith( std::string const& s, char suffix ); 11611 return endsWith( m_comparator.adjustString( source ), m_comparator.m_str ); in match() 13586 bool endsWith( std::string const& s, std::string const& suffix ) { in endsWith() function 13589 bool endsWith( std::string const& s, char suffix ) { in endsWith() function 13760 CATCH_ENFORCE( startsWith(alias, "[@") && endsWith(alias, ']'), in add() 15072 if( endsWith( m_pattern, '*' ) ) { in WildcardPattern() 15083 return endsWith( normaliseString( str ), m_pattern ); in matches()
|