/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/clang/lib/Format/ |
H A D | ContinuationIndenter.cpp | 765 if (!NextNonComment) in addTokenOnNewLine() 766 NextNonComment = &Current; in addTokenOnNewLine() 961 if (!NextNonComment) in getNewLineColumn() 962 NextNonComment = &Current; in getNewLineColumn() 975 if (NextNonComment->is(tok::l_brace) && NextNonComment->is(BK_Block)) in getNewLineColumn() 1008 if (NextNonComment->is(TT_TemplateString) && NextNonComment->closesScope()) in getNewLineColumn() 1033 if (((NextNonComment->is(tok::colon) && NextNonComment->Next && in getNewLineColumn() 1090 if (NextNonComment->is(tok::colon) && NextNonComment->is(TT_ObjCMethodExpr)) in getNewLineColumn() 1103 if (NextNonComment->is(tok::identifier) && NextNonComment->FakeRParens == 0 && in getNewLineColumn() 1104 NextNonComment->Next && NextNonComment->Next->is(TT_ObjCMethodExpr)) in getNewLineColumn() [all …]
|
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/clang/lib/Format/ |
H A D | ContinuationIndenter.cpp | 767 if (!NextNonComment) in addTokenOnNewLine() 768 NextNonComment = &Current; in addTokenOnNewLine() 979 if (!NextNonComment) in getNewLineColumn() 980 NextNonComment = &Current; in getNewLineColumn() 993 if (NextNonComment->is(tok::l_brace) && NextNonComment->is(BK_Block)) in getNewLineColumn() 1026 if (NextNonComment->is(TT_TemplateString) && NextNonComment->closesScope()) in getNewLineColumn() 1051 if (((NextNonComment->is(tok::colon) && NextNonComment->Next && in getNewLineColumn() 1108 if (NextNonComment->is(tok::colon) && NextNonComment->is(TT_ObjCMethodExpr)) in getNewLineColumn() 1121 if (NextNonComment->is(tok::identifier) && NextNonComment->FakeRParens == 0 && in getNewLineColumn() 1122 NextNonComment->Next && NextNonComment->Next->is(TT_ObjCMethodExpr)) in getNewLineColumn() [all …]
|
H A D | WhitespaceManager.cpp | 1159 const auto *NextNonComment = C.Tok->getNextNonComment(); in getCells() local 1160 while (NextNonComment->is(tok::comma)) in getCells() 1161 NextNonComment = NextNonComment->getNextNonComment(); in getCells() 1163 while (Changes[j].Tok != NextNonComment && j < End) in getCells()
|
/dports/devel/llvm12/llvm-project-12.0.1.src/clang/lib/Format/ |
H A D | ContinuationIndenter.cpp | 767 if (!NextNonComment) in addTokenOnNewLine() 768 NextNonComment = &Current; in addTokenOnNewLine() 979 if (!NextNonComment) in getNewLineColumn() 980 NextNonComment = &Current; in getNewLineColumn() 993 if (NextNonComment->is(tok::l_brace) && NextNonComment->is(BK_Block)) in getNewLineColumn() 1026 if (NextNonComment->is(TT_TemplateString) && NextNonComment->closesScope()) in getNewLineColumn() 1051 if (((NextNonComment->is(tok::colon) && NextNonComment->Next && in getNewLineColumn() 1108 if (NextNonComment->is(tok::colon) && NextNonComment->is(TT_ObjCMethodExpr)) in getNewLineColumn() 1121 if (NextNonComment->is(tok::identifier) && NextNonComment->FakeRParens == 0 && in getNewLineColumn() 1122 NextNonComment->Next && NextNonComment->Next->is(TT_ObjCMethodExpr)) in getNewLineColumn() [all …]
|
/dports/devel/llvm11/llvm-11.0.1.src/tools/clang/lib/Format/ |
H A D | ContinuationIndenter.cpp | 765 if (!NextNonComment) in addTokenOnNewLine() 766 NextNonComment = &Current; in addTokenOnNewLine() 961 if (!NextNonComment) in getNewLineColumn() 962 NextNonComment = &Current; in getNewLineColumn() 975 if (NextNonComment->is(tok::l_brace) && NextNonComment->BlockKind == BK_Block) in getNewLineColumn() 1009 if (NextNonComment->is(TT_TemplateString) && NextNonComment->closesScope()) in getNewLineColumn() 1034 if (((NextNonComment->is(tok::colon) && NextNonComment->Next && in getNewLineColumn() 1091 if (NextNonComment->is(tok::colon) && NextNonComment->is(TT_ObjCMethodExpr)) in getNewLineColumn() 1104 if (NextNonComment->is(tok::identifier) && NextNonComment->FakeRParens == 0 && in getNewLineColumn() 1105 NextNonComment->Next && NextNonComment->Next->is(TT_ObjCMethodExpr)) in getNewLineColumn() [all …]
|
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/clang/lib/Format/ |
H A D | ContinuationIndenter.cpp | 765 if (!NextNonComment) in addTokenOnNewLine() 766 NextNonComment = &Current; in addTokenOnNewLine() 961 if (!NextNonComment) in getNewLineColumn() 962 NextNonComment = &Current; in getNewLineColumn() 975 if (NextNonComment->is(tok::l_brace) && NextNonComment->is(BK_Block)) in getNewLineColumn() 1008 if (NextNonComment->is(TT_TemplateString) && NextNonComment->closesScope()) in getNewLineColumn() 1033 if (((NextNonComment->is(tok::colon) && NextNonComment->Next && in getNewLineColumn() 1090 if (NextNonComment->is(tok::colon) && NextNonComment->is(TT_ObjCMethodExpr)) in getNewLineColumn() 1103 if (NextNonComment->is(tok::identifier) && NextNonComment->FakeRParens == 0 && in getNewLineColumn() 1104 NextNonComment->Next && NextNonComment->Next->is(TT_ObjCMethodExpr)) in getNewLineColumn() [all …]
|
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/clang/lib/Format/ |
H A D | ContinuationIndenter.cpp | 767 if (!NextNonComment) in addTokenOnNewLine() 768 NextNonComment = &Current; in addTokenOnNewLine() 979 if (!NextNonComment) in getNewLineColumn() 980 NextNonComment = &Current; in getNewLineColumn() 993 if (NextNonComment->is(tok::l_brace) && NextNonComment->is(BK_Block)) in getNewLineColumn() 1026 if (NextNonComment->is(TT_TemplateString) && NextNonComment->closesScope()) in getNewLineColumn() 1051 if (((NextNonComment->is(tok::colon) && NextNonComment->Next && in getNewLineColumn() 1108 if (NextNonComment->is(tok::colon) && NextNonComment->is(TT_ObjCMethodExpr)) in getNewLineColumn() 1121 if (NextNonComment->is(tok::identifier) && NextNonComment->FakeRParens == 0 && in getNewLineColumn() 1122 NextNonComment->Next && NextNonComment->Next->is(TT_ObjCMethodExpr)) in getNewLineColumn() [all …]
|
H A D | WhitespaceManager.cpp | 1159 const auto *NextNonComment = C.Tok->getNextNonComment(); in getCells() local 1160 while (NextNonComment->is(tok::comma)) in getCells() 1161 NextNonComment = NextNonComment->getNextNonComment(); in getCells() 1163 while (Changes[j].Tok != NextNonComment && j < End) in getCells()
|
/dports/lang/rust/rustc-1.58.1-src/src/llvm-project/clang/lib/Format/ |
H A D | ContinuationIndenter.cpp | 767 if (!NextNonComment) in addTokenOnNewLine() 768 NextNonComment = &Current; in addTokenOnNewLine() 979 if (!NextNonComment) in getNewLineColumn() 980 NextNonComment = &Current; in getNewLineColumn() 993 if (NextNonComment->is(tok::l_brace) && NextNonComment->is(BK_Block)) in getNewLineColumn() 1026 if (NextNonComment->is(TT_TemplateString) && NextNonComment->closesScope()) in getNewLineColumn() 1051 if (((NextNonComment->is(tok::colon) && NextNonComment->Next && in getNewLineColumn() 1108 if (NextNonComment->is(tok::colon) && NextNonComment->is(TT_ObjCMethodExpr)) in getNewLineColumn() 1121 if (NextNonComment->is(tok::identifier) && NextNonComment->FakeRParens == 0 && in getNewLineColumn() 1122 NextNonComment->Next && NextNonComment->Next->is(TT_ObjCMethodExpr)) in getNewLineColumn() [all …]
|
H A D | WhitespaceManager.cpp | 1158 const auto *NextNonComment = C.Tok->getNextNonComment(); in getCells() local 1159 while (NextNonComment->is(tok::comma)) in getCells() 1160 NextNonComment = NextNonComment->getNextNonComment(); in getCells() 1162 while (Changes[j].Tok != NextNonComment && j < End) in getCells()
|
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/clang/lib/Format/ |
H A D | ContinuationIndenter.cpp | 767 if (!NextNonComment) in addTokenOnNewLine() 768 NextNonComment = &Current; in addTokenOnNewLine() 979 if (!NextNonComment) in getNewLineColumn() 980 NextNonComment = &Current; in getNewLineColumn() 993 if (NextNonComment->is(tok::l_brace) && NextNonComment->is(BK_Block)) in getNewLineColumn() 1026 if (NextNonComment->is(TT_TemplateString) && NextNonComment->closesScope()) in getNewLineColumn() 1051 if (((NextNonComment->is(tok::colon) && NextNonComment->Next && in getNewLineColumn() 1108 if (NextNonComment->is(tok::colon) && NextNonComment->is(TT_ObjCMethodExpr)) in getNewLineColumn() 1121 if (NextNonComment->is(tok::identifier) && NextNonComment->FakeRParens == 0 && in getNewLineColumn() 1122 NextNonComment->Next && NextNonComment->Next->is(TT_ObjCMethodExpr)) in getNewLineColumn() [all …]
|
/dports/devel/llvm13/llvm-project-13.0.1.src/clang/lib/Format/ |
H A D | ContinuationIndenter.cpp | 767 if (!NextNonComment) in addTokenOnNewLine() 768 NextNonComment = &Current; in addTokenOnNewLine() 979 if (!NextNonComment) in getNewLineColumn() 980 NextNonComment = &Current; in getNewLineColumn() 993 if (NextNonComment->is(tok::l_brace) && NextNonComment->is(BK_Block)) in getNewLineColumn() 1026 if (NextNonComment->is(TT_TemplateString) && NextNonComment->closesScope()) in getNewLineColumn() 1051 if (((NextNonComment->is(tok::colon) && NextNonComment->Next && in getNewLineColumn() 1108 if (NextNonComment->is(tok::colon) && NextNonComment->is(TT_ObjCMethodExpr)) in getNewLineColumn() 1121 if (NextNonComment->is(tok::identifier) && NextNonComment->FakeRParens == 0 && in getNewLineColumn() 1122 NextNonComment->Next && NextNonComment->Next->is(TT_ObjCMethodExpr)) in getNewLineColumn() [all …]
|
H A D | WhitespaceManager.cpp | 1159 const auto *NextNonComment = C.Tok->getNextNonComment(); in getCells() local 1160 while (NextNonComment->is(tok::comma)) in getCells() 1161 NextNonComment = NextNonComment->getNextNonComment(); in getCells() 1163 while (Changes[j].Tok != NextNonComment && j < End) in getCells()
|
/dports/lang/clang-mesa/clang-13.0.1.src/lib/Format/ |
H A D | ContinuationIndenter.cpp | 767 if (!NextNonComment) in addTokenOnNewLine() 768 NextNonComment = &Current; in addTokenOnNewLine() 979 if (!NextNonComment) in getNewLineColumn() 980 NextNonComment = &Current; in getNewLineColumn() 993 if (NextNonComment->is(tok::l_brace) && NextNonComment->is(BK_Block)) in getNewLineColumn() 1026 if (NextNonComment->is(TT_TemplateString) && NextNonComment->closesScope()) in getNewLineColumn() 1051 if (((NextNonComment->is(tok::colon) && NextNonComment->Next && in getNewLineColumn() 1108 if (NextNonComment->is(tok::colon) && NextNonComment->is(TT_ObjCMethodExpr)) in getNewLineColumn() 1121 if (NextNonComment->is(tok::identifier) && NextNonComment->FakeRParens == 0 && in getNewLineColumn() 1122 NextNonComment->Next && NextNonComment->Next->is(TT_ObjCMethodExpr)) in getNewLineColumn() [all …]
|
H A D | WhitespaceManager.cpp | 1159 const auto *NextNonComment = C.Tok->getNextNonComment(); in getCells() local 1160 while (NextNonComment->is(tok::comma)) in getCells() 1161 NextNonComment = NextNonComment->getNextNonComment(); in getCells() 1163 while (Changes[j].Tok != NextNonComment && j < End) in getCells()
|
/dports/devel/llvm70/llvm-7.0.1.src/tools/clang/lib/Format/ |
H A D | ContinuationIndenter.cpp | 735 if (!NextNonComment) in addTokenOnNewLine() 736 NextNonComment = &Current; in addTokenOnNewLine() 773 if (NextNonComment->isMemberAccess()) { in addTokenOnNewLine() 906 if (!NextNonComment) in getNewLineColumn() 907 NextNonComment = &Current; in getNewLineColumn() 915 if (NextNonComment->is(tok::l_brace) && NextNonComment->BlockKind == BK_Block) in getNewLineColumn() 943 if (NextNonComment->is(TT_TemplateString) && NextNonComment->closesScope()) in getNewLineColumn() 1005 if (NextNonComment->is(tok::colon) && NextNonComment->is(TT_ObjCMethodExpr)) in getNewLineColumn() 1015 if (NextNonComment->is(tok::identifier) && NextNonComment->FakeRParens == 0 && in getNewLineColumn() 1016 NextNonComment->Next && NextNonComment->Next->is(TT_ObjCMethodExpr)) in getNewLineColumn() [all …]
|
H A D | TokenAnnotator.cpp | 1789 const FormatToken *NextNonComment = Current->getNextNonComment(); 1792 if (NextNonComment && Current->is(TT_SelectorName) && 1793 (NextNonComment->isOneOf(TT_DictLiteral, TT_JsTypeColon) || 1796 NextNonComment->is(tok::less)))) 1805 (Current->is(tok::comment) && NextNonComment && 1806 NextNonComment->is(TT_SelectorName)))
|
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/clang/lib/Format/ |
H A D | ContinuationIndenter.cpp | 782 if (!NextNonComment) in addTokenOnNewLine() 783 NextNonComment = &Current; in addTokenOnNewLine() 994 if (!NextNonComment) in getNewLineColumn() 995 NextNonComment = &Current; in getNewLineColumn() 1008 if (NextNonComment->is(tok::l_brace) && NextNonComment->is(BK_Block)) in getNewLineColumn() 1041 if (NextNonComment->is(TT_TemplateString) && NextNonComment->closesScope()) in getNewLineColumn() 1066 if (((NextNonComment->is(tok::colon) && NextNonComment->Next && in getNewLineColumn() 1123 if (NextNonComment->is(tok::colon) && NextNonComment->is(TT_ObjCMethodExpr)) in getNewLineColumn() 1136 if (NextNonComment->is(tok::identifier) && NextNonComment->FakeRParens == 0 && in getNewLineColumn() 1137 NextNonComment->Next && NextNonComment->Next->is(TT_ObjCMethodExpr)) in getNewLineColumn() [all …]
|
H A D | WhitespaceManager.cpp | 1159 const auto *NextNonComment = C.Tok->getNextNonComment(); in getCells() local 1160 while (NextNonComment->is(tok::comma)) in getCells() 1161 NextNonComment = NextNonComment->getNextNonComment(); in getCells() 1163 while (Changes[j].Tok != NextNonComment && j < End) in getCells()
|
/dports/devel/llvm10/llvm-10.0.1.src/tools/clang/lib/Format/ |
H A D | ContinuationIndenter.cpp | 741 if (!NextNonComment) in addTokenOnNewLine() 742 NextNonComment = &Current; in addTokenOnNewLine() 779 if (NextNonComment->isMemberAccess()) { in addTokenOnNewLine() 928 if (!NextNonComment) in getNewLineColumn() 929 NextNonComment = &Current; in getNewLineColumn() 942 if (NextNonComment->is(tok::l_brace) && NextNonComment->BlockKind == BK_Block) in getNewLineColumn() 976 if (NextNonComment->is(TT_TemplateString) && NextNonComment->closesScope()) in getNewLineColumn() 1038 if (NextNonComment->is(tok::colon) && NextNonComment->is(TT_ObjCMethodExpr)) in getNewLineColumn() 1048 if (NextNonComment->is(tok::identifier) && NextNonComment->FakeRParens == 0 && in getNewLineColumn() 1049 NextNonComment->Next && NextNonComment->Next->is(TT_ObjCMethodExpr)) in getNewLineColumn() [all …]
|
/dports/devel/llvm90/llvm-9.0.1.src/tools/clang/lib/Format/ |
H A D | ContinuationIndenter.cpp | 737 if (!NextNonComment) in addTokenOnNewLine() 738 NextNonComment = &Current; in addTokenOnNewLine() 775 if (NextNonComment->isMemberAccess()) { in addTokenOnNewLine() 924 if (!NextNonComment) in getNewLineColumn() 925 NextNonComment = &Current; in getNewLineColumn() 933 if (NextNonComment->is(tok::l_brace) && NextNonComment->BlockKind == BK_Block) in getNewLineColumn() 967 if (NextNonComment->is(TT_TemplateString) && NextNonComment->closesScope()) in getNewLineColumn() 1029 if (NextNonComment->is(tok::colon) && NextNonComment->is(TT_ObjCMethodExpr)) in getNewLineColumn() 1039 if (NextNonComment->is(tok::identifier) && NextNonComment->FakeRParens == 0 && in getNewLineColumn() 1040 NextNonComment->Next && NextNonComment->Next->is(TT_ObjCMethodExpr)) in getNewLineColumn() [all …]
|
H A D | TokenAnnotator.cpp | 1862 const FormatToken *NextNonComment = Current->getNextNonComment(); in getCurrentPrecedence() local 1865 if (NextNonComment && Current->is(TT_SelectorName) && in getCurrentPrecedence() 1866 (NextNonComment->isOneOf(TT_DictLiteral, TT_JsTypeColon) || in getCurrentPrecedence() 1869 NextNonComment->is(tok::less)))) in getCurrentPrecedence() 1878 (Current->is(tok::comment) && NextNonComment && in getCurrentPrecedence() 1879 NextNonComment->is(TT_SelectorName))) in getCurrentPrecedence()
|
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/clang/lib/Format/ |
H A D | ContinuationIndenter.cpp | 741 if (!NextNonComment) in addTokenOnNewLine() 742 NextNonComment = &Current; in addTokenOnNewLine() 779 if (NextNonComment->isMemberAccess()) { in addTokenOnNewLine() 928 if (!NextNonComment) in getNewLineColumn() 929 NextNonComment = &Current; in getNewLineColumn() 942 if (NextNonComment->is(tok::l_brace) && NextNonComment->BlockKind == BK_Block) in getNewLineColumn() 976 if (NextNonComment->is(TT_TemplateString) && NextNonComment->closesScope()) in getNewLineColumn() 1038 if (NextNonComment->is(tok::colon) && NextNonComment->is(TT_ObjCMethodExpr)) in getNewLineColumn() 1048 if (NextNonComment->is(tok::identifier) && NextNonComment->FakeRParens == 0 && in getNewLineColumn() 1049 NextNonComment->Next && NextNonComment->Next->is(TT_ObjCMethodExpr)) in getNewLineColumn() [all …]
|
/dports/devel/llvm80/llvm-8.0.1.src/tools/clang/lib/Format/ |
H A D | ContinuationIndenter.cpp | 738 if (!NextNonComment) in addTokenOnNewLine() 739 NextNonComment = &Current; in addTokenOnNewLine() 776 if (NextNonComment->isMemberAccess()) { in addTokenOnNewLine() 909 if (!NextNonComment) in getNewLineColumn() 910 NextNonComment = &Current; in getNewLineColumn() 918 if (NextNonComment->is(tok::l_brace) && NextNonComment->BlockKind == BK_Block) in getNewLineColumn() 946 if (NextNonComment->is(TT_TemplateString) && NextNonComment->closesScope()) in getNewLineColumn() 1008 if (NextNonComment->is(tok::colon) && NextNonComment->is(TT_ObjCMethodExpr)) in getNewLineColumn() 1018 if (NextNonComment->is(tok::identifier) && NextNonComment->FakeRParens == 0 && in getNewLineColumn() 1019 NextNonComment->Next && NextNonComment->Next->is(TT_ObjCMethodExpr)) in getNewLineColumn() [all …]
|
H A D | TokenAnnotator.cpp | 1793 const FormatToken *NextNonComment = Current->getNextNonComment(); in getCurrentPrecedence() local 1796 if (NextNonComment && Current->is(TT_SelectorName) && in getCurrentPrecedence() 1797 (NextNonComment->isOneOf(TT_DictLiteral, TT_JsTypeColon) || in getCurrentPrecedence() 1800 NextNonComment->is(tok::less)))) in getCurrentPrecedence() 1809 (Current->is(tok::comment) && NextNonComment && in getCurrentPrecedence() 1810 NextNonComment->is(TT_SelectorName))) in getCurrentPrecedence()
|