/external/clang/lib/Format/ |
D | FormatToken.cpp | 82 const FormatToken *LBrace = in formatAfterToken() local 84 if (!LBrace || !LBrace->isOneOf(tok::l_brace, TT_ArrayInitializerLSquare) || in formatAfterToken() 85 LBrace->BlockKind == BK_Block || LBrace->Type == TT_DictLiteral || in formatAfterToken() 86 LBrace->Next->Type == TT_DesignatedInitializerPeriod) in formatAfterToken() 106 while (State.NextToken != LBrace->MatchingParen) { in formatAfterToken()
|
D | UnwrappedLineFormatter.cpp | 511 const FormatToken *LBrace = State.NextToken->getPreviousNonComment(); in formatChildren() local 513 if (!LBrace || LBrace->isNot(tok::l_brace) || in formatChildren() 514 LBrace->BlockKind != BK_Block || Previous.Children.size() == 0) in formatChildren()
|
/external/llvm-project/clang/lib/Format/ |
D | FormatToken.cpp | 86 const FormatToken *LBrace = in formatAfterToken() local 88 if (!LBrace || !LBrace->isOneOf(tok::l_brace, TT_ArrayInitializerLSquare) || in formatAfterToken() 89 LBrace->is(BK_Block) || LBrace->is(TT_DictLiteral) || in formatAfterToken() 90 LBrace->Next->is(TT_DesignatedInitializerPeriod)) in formatAfterToken() 111 while (State.NextToken != LBrace->MatchingParen) { in formatAfterToken()
|
D | TokenAnnotator.cpp | 3726 FormatToken *LBrace = Right.Next; in mustBreakBefore() local 3727 if (LBrace && LBrace->is(tok::colon)) { in mustBreakBefore() 3728 LBrace = LBrace->Next; in mustBreakBefore() 3729 if (LBrace && LBrace->is(tok::at)) { in mustBreakBefore() 3730 LBrace = LBrace->Next; in mustBreakBefore() 3731 if (LBrace) in mustBreakBefore() 3732 LBrace = LBrace->Next; in mustBreakBefore() 3735 if (LBrace && in mustBreakBefore() 3744 ((LBrace->is(tok::l_brace) && in mustBreakBefore() 3745 (LBrace->is(TT_DictLiteral) || in mustBreakBefore() [all …]
|
D | UnwrappedLineFormatter.cpp | 769 const FormatToken *LBrace = State.NextToken->getPreviousNonComment(); in formatChildren() local 771 if (!LBrace || LBrace->isNot(tok::l_brace) || LBrace->isNot(BK_Block) || in formatChildren()
|
D | ContinuationIndenter.cpp | 86 auto FindParenState = [&](const FormatToken *LBrace) -> const ParenState * { in getLengthToMatchingParen() argument 87 while (MatchingStackIndex >= 0 && Stack[MatchingStackIndex].Tok != LBrace) in getLengthToMatchingParen()
|
/external/llvm-project/clang-tools-extra/clangd/ |
D | SemanticSelection.cpp | 60 const auto *LBrace = cast_or_null<syntax::Leaf>( in extractFoldingRange() local 67 if (!LBrace || !RBrace) in extractFoldingRange() 70 const SourceLocation LBraceLocInfo = LBrace->getToken()->endLocation(), in extractFoldingRange()
|
/external/python/cpython3/Parser/ |
D | asdl.py | 215 LParen, RParen, LBrace, RBrace) = range(11) 219 ')': RParen, '*': Asterisk, '{': LBrace, '}': RBrace} 279 self._match(TokenKind.LBrace)
|
/external/llvm-project/clang-tools-extra/clang-tidy/readability/ |
D | ElseAfterReturnCheck.cpp | 129 SourceLocation LBrace = CS->getLBracLoc(); in removeElseAndBrackets() local 132 Remap(LBrace).getLocWithOffset(TokLen(LBrace) + 1); in removeElseAndBrackets()
|
/external/clang/lib/Lex/ |
D | ModuleMap.cpp | 979 LBrace, enumerator 1143 Tok.Kind = MMToken::LBrace; in consumeToken() 1216 case MMToken::LBrace: in skipUntil() 1417 if (!Tok.is(MMToken::LBrace)) { in parseModuleDecl() 2219 if (Tok.is(MMToken::LBrace)) { in parseInferredModuleDecl() 2248 if (!Tok.is(MMToken::LBrace)) { in parseInferredModuleDecl() 2419 case MMToken::LBrace: in parseModuleMapFile()
|
/external/llvm-project/clang/lib/Lex/ |
D | ModuleMap.cpp | 1366 LBrace, enumerator 1549 Tok.Kind = MMToken::LBrace; in consumeToken() 1660 case MMToken::LBrace: in skipUntil() 1930 if (!Tok.is(MMToken::LBrace)) { in parseModuleDecl() 2327 if (Tok.is(MMToken::LBrace)) { in parseHeaderDecl() 2760 if (Tok.is(MMToken::LBrace)) { in parseInferredModuleDecl() 2789 if (!Tok.is(MMToken::LBrace)) { in parseInferredModuleDecl() 2965 case MMToken::LBrace: in parseModuleMapFile()
|
/external/clang/lib/Sema/ |
D | AnalysisBasedWarnings.cpp | 547 SourceLocation LBrace = Body->getLocStart(), RBrace = Body->getLocEnd(); in CheckFallThroughForBody() local 568 S.Diag(LBrace, CD.diag_NeverFallThroughOrReturn) << 0 << FD; in CheckFallThroughForBody() 570 S.Diag(LBrace, CD.diag_NeverFallThroughOrReturn) << 1 << MD; in CheckFallThroughForBody() 572 S.Diag(LBrace, CD.diag_NeverFallThroughOrReturn); in CheckFallThroughForBody()
|
D | TreeTransform.h | 11831 SourceLocation LBrace; in RebuildCXXOperatorCallExpr() local 11836 LBrace = SourceLocation::getFromRawEncoding( in RebuildCXXOperatorCallExpr() 11841 LBrace = Callee->getLocStart(); in RebuildCXXOperatorCallExpr() 11845 return SemaRef.CreateOverloadedArraySubscriptExpr(LBrace, RBrace, in RebuildCXXOperatorCallExpr()
|
D | SemaDeclCXX.cpp | 7336 SourceLocation LBrace, in ActOnStartNamespaceDef() argument 7341 SourceLocation Loc = II ? IdentLoc : LBrace; in ActOnStartNamespaceDef() 7454 /* 'using' */ LBrace, in ActOnStartNamespaceDef()
|
/external/llvm-project/clang/lib/Sema/ |
D | AnalysisBasedWarnings.cpp | 672 SourceLocation LBrace = Body->getBeginLoc(), RBrace = Body->getEndLoc(); in CheckFallThroughForBody() local 704 S.Diag(LBrace, CD.diag_NeverFallThroughOrReturn) << 0 << FD; in CheckFallThroughForBody() 706 S.Diag(LBrace, CD.diag_NeverFallThroughOrReturn) << 1 << MD; in CheckFallThroughForBody() 708 S.Diag(LBrace, CD.diag_NeverFallThroughOrReturn); in CheckFallThroughForBody()
|
D | TreeTransform.h | 14331 SourceLocation LBrace; in RebuildCXXOperatorCallExpr() local 14336 LBrace = SourceLocation::getFromRawEncoding( in RebuildCXXOperatorCallExpr() 14341 LBrace = Callee->getBeginLoc(); in RebuildCXXOperatorCallExpr() 14345 return SemaRef.CreateOverloadedArraySubscriptExpr(LBrace, RBrace, in RebuildCXXOperatorCallExpr()
|
D | SemaDeclCXX.cpp | 10850 SourceLocation IdentLoc, IdentifierInfo *II, SourceLocation LBrace, in ActOnStartNamespaceDef() argument 10854 SourceLocation Loc = II ? IdentLoc : LBrace; in ActOnStartNamespaceDef() 10969 /* 'using' */ LBrace, in ActOnStartNamespaceDef()
|
/external/clang/include/clang/Sema/ |
D | Sema.h | 4192 SourceLocation LBrace,
|
/external/llvm-project/clang/include/clang/Sema/ |
D | Sema.h | 5455 SourceLocation LBrace,
|