Home
last modified time | relevance | path

Searched refs:Braces (Results 1 – 15 of 15) sorted by relevance

/openbsd/gnu/llvm/llvm/lib/Support/
H A DFormatVariadic.cpp102 StringRef Braces = Fmt.take_while([](char C) { return C == '{'; }); in splitLiteralAndReplacement() local
105 if (Braces.size() > 1) { in splitLiteralAndReplacement()
106 size_t NumEscapedBraces = Braces.size() / 2; in splitLiteralAndReplacement()
/openbsd/gnu/llvm/clang/lib/Parse/
H A DParseInit.cpp553 BalancedDelimiterTracker Braces(*this, tok::l_brace); in ParseMicrosoftIfExistsBraceInitializer() local
554 if (Braces.consumeOpen()) { in ParseMicrosoftIfExistsBraceInitializer()
571 Braces.skipToEnd(); in ParseMicrosoftIfExistsBraceInitializer()
577 PreferredType.get(Braces.getOpenLocation()), in ParseMicrosoftIfExistsBraceInitializer()
607 Braces.consumeClose(); in ParseMicrosoftIfExistsBraceInitializer()
H A DParseExprCXX.cpp1011 BalancedDelimiterTracker Braces(*this, tok::l_brace); in ParseLambdaIntroducer() local
1012 Braces.consumeOpen(); in ParseLambdaIntroducer()
1013 Braces.skipToEnd(); in ParseLambdaIntroducer()
3499 BalancedDelimiterTracker Braces(*this, tok::l_brace); in ParseRequiresExpression() local
3500 if (Braces.expectAndConsume()) in ParseRequiresExpression()
3746 Braces.consumeClose(); in ParseRequiresExpression()
3751 Braces.consumeClose(); in ParseRequiresExpression()
3755 Requirements, Braces.getCloseLocation()); in ParseRequiresExpression()
H A DParseStmt.cpp2714 BalancedDelimiterTracker Braces(*this, tok::l_brace); in ParseMicrosoftIfExistsStatement() local
2715 if (Braces.consumeOpen()) { in ParseMicrosoftIfExistsStatement()
2729 Braces.skipToEnd(); in ParseMicrosoftIfExistsStatement()
2740 Braces.consumeClose(); in ParseMicrosoftIfExistsStatement()
H A DParser.cpp2344 BalancedDelimiterTracker Braces(*this, tok::l_brace); in ParseMicrosoftIfExistsExternalDeclaration() local
2345 if (Braces.consumeOpen()) { in ParseMicrosoftIfExistsExternalDeclaration()
2359 Braces.skipToEnd(); in ParseMicrosoftIfExistsExternalDeclaration()
2373 Braces.consumeClose(); in ParseMicrosoftIfExistsExternalDeclaration()
H A DParseDeclCXX.cpp4795 BalancedDelimiterTracker Braces(*this, tok::l_brace); in ParseMicrosoftIfExistsClassDeclaration() local
4796 if (Braces.consumeOpen()) { in ParseMicrosoftIfExistsClassDeclaration()
4813 Braces.skipToEnd(); in ParseMicrosoftIfExistsClassDeclaration()
4849 Braces.consumeClose(); in ParseMicrosoftIfExistsClassDeclaration()
/openbsd/gnu/usr.bin/perl/cpan/IO-Compress/lib/File/
H A DGlobMapper.pm78 Braces => 0,
262 ++ $self->{Braces} ;
/openbsd/gnu/llvm/clang/lib/Format/
H A DNamespaceEndCommentsFixer.cpp289 int Braces = 0; in analyze() local
293 Braces += Tok->is(tok::l_brace) ? 1 : Tok->is(tok::r_brace) ? -1 : 0; in analyze()
300 if (Braces != 0) in analyze()
/openbsd/gnu/llvm/clang/lib/Lex/
H A DPPMacroExpansion.cpp683 unsigned Braces = 0; in GenerateNewArgTokens() local
701 ++Braces; in GenerateNewArgTokens()
703 --Braces; in GenerateNewArgTokens()
704 if (Braces == 0 && ClosingBrace == E && FoundSeparatorToken) in GenerateNewArgTokens()
708 if (Braces != 0) { in GenerateNewArgTokens()
/openbsd/gnu/llvm/clang/lib/Sema/
H A DSemaInit.cpp1138 SourceRange Braces) { in warnBracedScalarInit() argument
1194 S.Diag(Braces.getBegin(), DiagID) in warnBracedScalarInit()
1195 << Entity.getType()->isSizelessBuiltinType() << Braces in warnBracedScalarInit()
1196 << FixItHint::CreateRemoval(Braces.getBegin()) in warnBracedScalarInit()
1197 << FixItHint::CreateRemoval(Braces.getEnd()); in warnBracedScalarInit()
/openbsd/gnu/llvm/llvm/docs/
H A DCodingStandards.rst1589 Don't Use Braces on Simple Single-Statement Bodies of if/else/loop Statements
1612 indirectly) nested ``if`` statement with no ``else``. Braces on the outer ``if``
/openbsd/gnu/usr.bin/texinfo/doc/
H A Dtexinfo.txi436 * Atsign Braces Comma:: Inserting @@ and @{@} and ,.
453 * Inserting Braces::
1203 @cindex Braces, when to use
9979 * Atsign Braces Comma:: Inserting @@ and @{@} and ,.
9995 @node Atsign Braces Comma
10010 * Inserting Braces::
10026 @node Inserting Braces
10028 @cindex Braces, inserting
13581 @cindex Braces, in macro arguments
17889 the command name by a space. Braces are not used.@refill
[all …]
/openbsd/gnu/usr.bin/perl/pod/
H A Dperlre.pod1219 Braces are required in referring to named capture groups, but are optional for
1220 absolute or relative numbered ones. Braces are safer when creating a regex by
/openbsd/gnu/usr.bin/texinfo/
H A DChangeLog2829 * doc/texinfo.txi (Atsign Braces Comma): Rename node.
/openbsd/gnu/usr.bin/gcc/gcc/
H A DChangeLog.314550 dereferencing it. Braces to avoid "ambiguous else" were misplaced.