Home
last modified time | relevance | path

Searched refs:opensScope (Results 1 – 25 of 48) sorted by relevance

12

/dports/devel/llvm70/llvm-7.0.1.src/tools/clang/lib/Format/
H A DContinuationIndenter.cpp297 if (Previous.opensScope() && Previous.isNot(tok::l_brace) && in canBreak()
622 if (Previous.is(TT_TemplateString) && Previous.opensScope()) in addTokenOnCurrentLine()
626 Previous.opensScope() && Previous.isNot(TT_ObjCMethodExpr) && in addTokenOnCurrentLine()
707 } else if (Previous.opensScope()) { in addTokenOnCurrentLine()
871 Current.isNot(TT_BinaryOperator) && !PreviousNonComment->opensScope()) in addTokenOnNewLine()
1081 if (!Current.opensScope() && !Current.closesScope() && in moveStateToNextToken()
1193 (Previous && (Previous->opensScope() || in moveStatePastFakeLParens()
1246 if ((Previous && !Previous->opensScope()) || *I != prec::Comma) in moveStatePastFakeLParens()
1268 if (!Current.opensScope()) in moveStatePastScopeOpener()
H A DFormatToken.h366 bool opensScope() const { in opensScope() function
486 if (is(TT_TemplateString) && opensScope()) in opensBlockOrBlockTypeList()
H A DTokenAnnotator.cpp1220 if (Previous->opensScope())
1752 if (Current->opensScope()) {
1755 while (Current && (!Current->closesScope() || Current->opensScope())) {
2086 Current->Previous->opensScope())
2224 if (Left.opensScope() && Right.closesScope())
2345 if (Left.opensScope()) {
2580 !Left.opensScope() && Style.SpaceBeforeCpp11BracedList)
3106 if (Left.is(TT_TemplateString) && Left.opensScope())
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/clang/lib/Format/
H A DContinuationIndenter.cpp296 if (Previous.opensScope() && Previous.isNot(tok::l_brace) && in canBreak()
645 if (Previous.is(TT_TemplateString) && Previous.opensScope()) in addTokenOnCurrentLine()
650 Previous.opensScope() && Previous.isNot(TT_ObjCMethodExpr) && in addTokenOnCurrentLine()
737 } else if (Previous.opensScope()) { in addTokenOnCurrentLine()
904 Current.isNot(TT_BinaryOperator) && !PreviousNonComment->opensScope()) in addTokenOnNewLine()
1195 if (!Current.opensScope() && !Current.closesScope() && in moveStateToNextToken()
1313 (Previous && (Previous->opensScope() || in moveStatePastFakeLParens()
1393 if ((Previous && !Previous->opensScope()) || *I != prec::Comma) in moveStatePastFakeLParens()
1415 if (!Current.opensScope()) in moveStatePastScopeOpener()
H A DFormatToken.h525 bool opensScope() const { in opensScope() function
650 if (is(TT_TemplateString) && opensScope()) in opensBlockOrBlockTypeList()
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/clang/lib/Format/
H A DContinuationIndenter.cpp296 if (Previous.opensScope() && Previous.isNot(tok::l_brace) && in canBreak()
647 if (Previous.is(TT_TemplateString) && Previous.opensScope()) in addTokenOnCurrentLine()
652 Previous.opensScope() && Previous.isNot(TT_ObjCMethodExpr) && in addTokenOnCurrentLine()
739 } else if (Previous.opensScope()) { in addTokenOnCurrentLine()
922 Current.isNot(TT_BinaryOperator) && !PreviousNonComment->opensScope()) in addTokenOnNewLine()
1213 if (!Current.opensScope() && !Current.closesScope() && in moveStateToNextToken()
1331 (Previous && (Previous->opensScope() || in moveStatePastFakeLParens()
1411 if ((Previous && !Previous->opensScope()) || *I != prec::Comma) in moveStatePastFakeLParens()
1433 if (!Current.opensScope()) in moveStatePastScopeOpener()
/dports/devel/llvm12/llvm-project-12.0.1.src/clang/lib/Format/
H A DContinuationIndenter.cpp296 if (Previous.opensScope() && Previous.isNot(tok::l_brace) && in canBreak()
647 if (Previous.is(TT_TemplateString) && Previous.opensScope()) in addTokenOnCurrentLine()
652 Previous.opensScope() && Previous.isNot(TT_ObjCMethodExpr) && in addTokenOnCurrentLine()
739 } else if (Previous.opensScope()) { in addTokenOnCurrentLine()
922 Current.isNot(TT_BinaryOperator) && !PreviousNonComment->opensScope()) in addTokenOnNewLine()
1213 if (!Current.opensScope() && !Current.closesScope() && in moveStateToNextToken()
1331 (Previous && (Previous->opensScope() || in moveStatePastFakeLParens()
1411 if ((Previous && !Previous->opensScope()) || *I != prec::Comma) in moveStatePastFakeLParens()
1433 if (!Current.opensScope()) in moveStatePastScopeOpener()
/dports/devel/llvm11/llvm-11.0.1.src/tools/clang/lib/Format/
H A DContinuationIndenter.cpp296 if (Previous.opensScope() && Previous.isNot(tok::l_brace) && in canBreak()
645 if (Previous.is(TT_TemplateString) && Previous.opensScope()) in addTokenOnCurrentLine()
650 Previous.opensScope() && Previous.isNot(TT_ObjCMethodExpr) && in addTokenOnCurrentLine()
737 } else if (Previous.opensScope()) { in addTokenOnCurrentLine()
904 Current.isNot(TT_BinaryOperator) && !PreviousNonComment->opensScope()) in addTokenOnNewLine()
1196 if (!Current.opensScope() && !Current.closesScope() && in moveStateToNextToken()
1314 (Previous && (Previous->opensScope() || in moveStatePastFakeLParens()
1390 if ((Previous && !Previous->opensScope()) || *I != prec::Comma) in moveStatePastFakeLParens()
1412 if (!Current.opensScope()) in moveStatePastScopeOpener()
H A DFormatToken.h401 bool opensScope() const { in opensScope() function
524 if (is(TT_TemplateString) && opensScope()) in opensBlockOrBlockTypeList()
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/clang/lib/Format/
H A DContinuationIndenter.cpp296 if (Previous.opensScope() && Previous.isNot(tok::l_brace) && in canBreak()
645 if (Previous.is(TT_TemplateString) && Previous.opensScope()) in addTokenOnCurrentLine()
650 Previous.opensScope() && Previous.isNot(TT_ObjCMethodExpr) && in addTokenOnCurrentLine()
737 } else if (Previous.opensScope()) { in addTokenOnCurrentLine()
904 Current.isNot(TT_BinaryOperator) && !PreviousNonComment->opensScope()) in addTokenOnNewLine()
1195 if (!Current.opensScope() && !Current.closesScope() && in moveStateToNextToken()
1313 (Previous && (Previous->opensScope() || in moveStatePastFakeLParens()
1393 if ((Previous && !Previous->opensScope()) || *I != prec::Comma) in moveStatePastFakeLParens()
1415 if (!Current.opensScope()) in moveStatePastScopeOpener()
/dports/devel/llvm10/llvm-10.0.1.src/tools/clang/lib/Format/
H A DContinuationIndenter.cpp296 if (Previous.opensScope() && Previous.isNot(tok::l_brace) && in canBreak()
628 if (Previous.is(TT_TemplateString) && Previous.opensScope()) in addTokenOnCurrentLine()
632 Previous.opensScope() && Previous.isNot(TT_ObjCMethodExpr) && in addTokenOnCurrentLine()
713 } else if (Previous.opensScope()) { in addTokenOnCurrentLine()
877 Current.isNot(TT_BinaryOperator) && !PreviousNonComment->opensScope()) in addTokenOnNewLine()
1114 if (!Current.opensScope() && !Current.closesScope() && in moveStateToNextToken()
1233 (Previous && (Previous->opensScope() || in moveStatePastFakeLParens()
1286 if ((Previous && !Previous->opensScope()) || *I != prec::Comma) in moveStatePastFakeLParens()
1308 if (!Current.opensScope()) in moveStatePastScopeOpener()
H A DFormatToken.h387 bool opensScope() const { in opensScope() function
507 if (is(TT_TemplateString) && opensScope()) in opensBlockOrBlockTypeList()
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/clang/lib/Format/
H A DContinuationIndenter.cpp296 if (Previous.opensScope() && Previous.isNot(tok::l_brace) && in canBreak()
647 if (Previous.is(TT_TemplateString) && Previous.opensScope()) in addTokenOnCurrentLine()
652 Previous.opensScope() && Previous.isNot(TT_ObjCMethodExpr) && in addTokenOnCurrentLine()
739 } else if (Previous.opensScope()) { in addTokenOnCurrentLine()
922 Current.isNot(TT_BinaryOperator) && !PreviousNonComment->opensScope()) in addTokenOnNewLine()
1213 if (!Current.opensScope() && !Current.closesScope() && in moveStateToNextToken()
1331 (Previous && (Previous->opensScope() || in moveStatePastFakeLParens()
1411 if ((Previous && !Previous->opensScope()) || *I != prec::Comma) in moveStatePastFakeLParens()
1433 if (!Current.opensScope()) in moveStatePastScopeOpener()
/dports/devel/llvm90/llvm-9.0.1.src/tools/clang/lib/Format/
H A DContinuationIndenter.cpp296 if (Previous.opensScope() && Previous.isNot(tok::l_brace) && in canBreak()
623 if (Previous.is(TT_TemplateString) && Previous.opensScope()) in addTokenOnCurrentLine()
627 Previous.opensScope() && Previous.isNot(TT_ObjCMethodExpr) && in addTokenOnCurrentLine()
709 } else if (Previous.opensScope()) { in addTokenOnCurrentLine()
873 Current.isNot(TT_BinaryOperator) && !PreviousNonComment->opensScope()) in addTokenOnNewLine()
1105 if (!Current.opensScope() && !Current.closesScope() && in moveStateToNextToken()
1224 (Previous && (Previous->opensScope() || in moveStatePastFakeLParens()
1277 if ((Previous && !Previous->opensScope()) || *I != prec::Comma) in moveStatePastFakeLParens()
1299 if (!Current.opensScope()) in moveStatePastScopeOpener()
H A DFormatToken.h376 bool opensScope() const { in opensScope() function
496 if (is(TT_TemplateString) && opensScope()) in opensBlockOrBlockTypeList()
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/clang/lib/Format/
H A DContinuationIndenter.cpp296 if (Previous.opensScope() && Previous.isNot(tok::l_brace) && in canBreak()
628 if (Previous.is(TT_TemplateString) && Previous.opensScope()) in addTokenOnCurrentLine()
632 Previous.opensScope() && Previous.isNot(TT_ObjCMethodExpr) && in addTokenOnCurrentLine()
713 } else if (Previous.opensScope()) { in addTokenOnCurrentLine()
877 Current.isNot(TT_BinaryOperator) && !PreviousNonComment->opensScope()) in addTokenOnNewLine()
1114 if (!Current.opensScope() && !Current.closesScope() && in moveStateToNextToken()
1233 (Previous && (Previous->opensScope() || in moveStatePastFakeLParens()
1286 if ((Previous && !Previous->opensScope()) || *I != prec::Comma) in moveStatePastFakeLParens()
1308 if (!Current.opensScope()) in moveStatePastScopeOpener()
H A DFormatToken.h387 bool opensScope() const { in opensScope() function
507 if (is(TT_TemplateString) && opensScope()) in opensBlockOrBlockTypeList()
/dports/lang/rust/rustc-1.58.1-src/src/llvm-project/clang/lib/Format/
H A DContinuationIndenter.cpp296 if (Previous.opensScope() && Previous.isNot(tok::l_brace) && in canBreak()
647 if (Previous.is(TT_TemplateString) && Previous.opensScope()) in addTokenOnCurrentLine()
652 Previous.opensScope() && Previous.isNot(TT_ObjCMethodExpr) && in addTokenOnCurrentLine()
739 } else if (Previous.opensScope()) { in addTokenOnCurrentLine()
922 Current.isNot(TT_BinaryOperator) && !PreviousNonComment->opensScope()) in addTokenOnNewLine()
1213 if (!Current.opensScope() && !Current.closesScope() && in moveStateToNextToken()
1331 (Previous && (Previous->opensScope() || in moveStatePastFakeLParens()
1411 if ((Previous && !Previous->opensScope()) || *I != prec::Comma) in moveStatePastFakeLParens()
1433 if (!Current.opensScope()) in moveStatePastScopeOpener()
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/clang/lib/Format/
H A DContinuationIndenter.cpp296 if (Previous.opensScope() && Previous.isNot(tok::l_brace) && in canBreak()
647 if (Previous.is(TT_TemplateString) && Previous.opensScope()) in addTokenOnCurrentLine()
652 Previous.opensScope() && Previous.isNot(TT_ObjCMethodExpr) && in addTokenOnCurrentLine()
739 } else if (Previous.opensScope()) { in addTokenOnCurrentLine()
922 Current.isNot(TT_BinaryOperator) && !PreviousNonComment->opensScope()) in addTokenOnNewLine()
1213 if (!Current.opensScope() && !Current.closesScope() && in moveStateToNextToken()
1331 (Previous && (Previous->opensScope() || in moveStatePastFakeLParens()
1411 if ((Previous && !Previous->opensScope()) || *I != prec::Comma) in moveStatePastFakeLParens()
1433 if (!Current.opensScope()) in moveStatePastScopeOpener()
/dports/devel/llvm13/llvm-project-13.0.1.src/clang/lib/Format/
H A DContinuationIndenter.cpp296 if (Previous.opensScope() && Previous.isNot(tok::l_brace) && in canBreak()
647 if (Previous.is(TT_TemplateString) && Previous.opensScope()) in addTokenOnCurrentLine()
652 Previous.opensScope() && Previous.isNot(TT_ObjCMethodExpr) && in addTokenOnCurrentLine()
739 } else if (Previous.opensScope()) { in addTokenOnCurrentLine()
922 Current.isNot(TT_BinaryOperator) && !PreviousNonComment->opensScope()) in addTokenOnNewLine()
1213 if (!Current.opensScope() && !Current.closesScope() && in moveStateToNextToken()
1331 (Previous && (Previous->opensScope() || in moveStatePastFakeLParens()
1411 if ((Previous && !Previous->opensScope()) || *I != prec::Comma) in moveStatePastFakeLParens()
1433 if (!Current.opensScope()) in moveStatePastScopeOpener()
/dports/devel/llvm80/llvm-8.0.1.src/tools/clang/lib/Format/
H A DContinuationIndenter.cpp297 if (Previous.opensScope() && Previous.isNot(tok::l_brace) && in canBreak()
624 if (Previous.is(TT_TemplateString) && Previous.opensScope()) in addTokenOnCurrentLine()
628 Previous.opensScope() && Previous.isNot(TT_ObjCMethodExpr) && in addTokenOnCurrentLine()
710 } else if (Previous.opensScope()) { in addTokenOnCurrentLine()
874 Current.isNot(TT_BinaryOperator) && !PreviousNonComment->opensScope()) in addTokenOnNewLine()
1084 if (!Current.opensScope() && !Current.closesScope() && in moveStateToNextToken()
1197 (Previous && (Previous->opensScope() || in moveStatePastFakeLParens()
1250 if ((Previous && !Previous->opensScope()) || *I != prec::Comma) in moveStatePastFakeLParens()
1272 if (!Current.opensScope()) in moveStatePastScopeOpener()
H A DFormatToken.h371 bool opensScope() const { in opensScope() function
491 if (is(TT_TemplateString) && opensScope()) in opensBlockOrBlockTypeList()
/dports/lang/clang-mesa/clang-13.0.1.src/lib/Format/
H A DContinuationIndenter.cpp296 if (Previous.opensScope() && Previous.isNot(tok::l_brace) && in canBreak()
647 if (Previous.is(TT_TemplateString) && Previous.opensScope()) in addTokenOnCurrentLine()
652 Previous.opensScope() && Previous.isNot(TT_ObjCMethodExpr) && in addTokenOnCurrentLine()
739 } else if (Previous.opensScope()) { in addTokenOnCurrentLine()
922 Current.isNot(TT_BinaryOperator) && !PreviousNonComment->opensScope()) in addTokenOnNewLine()
1213 if (!Current.opensScope() && !Current.closesScope() && in moveStateToNextToken()
1331 (Previous && (Previous->opensScope() || in moveStatePastFakeLParens()
1411 if ((Previous && !Previous->opensScope()) || *I != prec::Comma) in moveStatePastFakeLParens()
1433 if (!Current.opensScope()) in moveStatePastScopeOpener()
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/clang/lib/Format/
H A DContinuationIndenter.cpp298 if (Previous.opensScope() && Previous.isNot(tok::l_brace) && in canBreak()
662 if (Previous.is(TT_TemplateString) && Previous.opensScope()) in addTokenOnCurrentLine()
667 Previous.opensScope() && Previous.isNot(TT_ObjCMethodExpr) && in addTokenOnCurrentLine()
754 } else if (Previous.opensScope()) { in addTokenOnCurrentLine()
937 Current.isNot(TT_BinaryOperator) && !PreviousNonComment->opensScope()) in addTokenOnNewLine()
1228 if (!Current.opensScope() && !Current.closesScope() && in moveStateToNextToken()
1346 (Previous && (Previous->opensScope() || in moveStatePastFakeLParens()
1426 if ((Previous && !Previous->opensScope()) || *I != prec::Comma) in moveStatePastFakeLParens()
1448 if (!Current.opensScope()) in moveStatePastScopeOpener()
H A DFormatToken.h535 bool opensScope() const { in opensScope() function
661 if (is(TT_TemplateString) && opensScope()) in opensBlockOrBlockTypeList()

12