Searched refs:endsWith (Results 1 – 5 of 5) sorted by relevance
| /freebsd/contrib/llvm-project/clang/lib/Format/ |
| H A D | TokenAnnotator.h | 129 template <typename... Ts> bool endsWith(Ts... Tokens) const { in endsWith() function 147 return !endsWith(tok::semi); in mightBeFunctionDefinition()
|
| H A D | UnwrappedLineFormatter.cpp | 845 if (Line.endsWith(tok::l_brace)) { in tryMergeSimpleBlock() 853 (I[-1]->endsWith(tok::kw_else) || IsCtrlStmt(*I[-1]))) { in tryMergeSimpleBlock() 1556 if (PreviousLine && PreviousLine->endsWith(TT_NamespaceLBrace)) { in computeNewlines()
|
| H A D | TokenAnnotator.cpp | 3750 Line.endsWith(TT_FunctionLBrace) || isCtorOrDtorName(Tok))) { in annotate() 3902 !Line.endsWith(tok::semi)) { in isFunctionDeclarationName() 4002 Line.endsWith(tok::semi, tok::r_brace)) { in calculateFormattingInformation()
|
| H A D | Format.cpp | 2876 } 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()
|