Home
last modified time | relevance | path

Searched refs:coloncolon (Results 1 – 25 of 35) sorted by relevance

12

/openbsd/gnu/llvm/clang/lib/Format/
H A DQualifierAlignmentFixer.cpp228 if (EndTemplate->startsSequence(TT_TemplateCloser, tok::coloncolon, in analyzeRight()
265 } else if (Tok->startsSequence(QualifierType, tok::coloncolon, in analyzeRight()
273 Tok->startsSequence(QualifierType, tok::coloncolon, in analyzeRight()
284 while (Next && Next->isOneOf(tok::identifier, tok::coloncolon) && in analyzeRight()
285 !Next->startsSequence(tok::coloncolon, tok::star)) { in analyzeRight()
292 if (Next && Next->startsSequence(TT_TemplateCloser, tok::coloncolon, in analyzeRight()
342 (Tok->Previous && !Tok->Previous->is(tok::coloncolon))) { in analyzeLeft()
358 if ((Tok->startsSequence(tok::coloncolon, tok::identifier) || in analyzeLeft()
367 while (Next && Next->isOneOf(tok::identifier, tok::coloncolon)) in analyzeLeft()
387 if (Next && Next->startsSequence(tok::coloncolon, tok::identifier)) in analyzeLeft()
H A DNamespaceEndCommentsFixer.cpp88 while (Tok && !Tok->isOneOf(tok::l_brace, tok::coloncolon, tok::l_paren)) { in computeName()
116 if (FirstNSTok->isNot(tok::coloncolon)) { in computeName()
122 IsPrevColoncolon = FirstNSTok->is(tok::coloncolon); in computeName()
H A DUsingDeclarationsSorter.cpp118 if (Tok && Tok->is(tok::coloncolon)) { in computeUsingDeclarationLabel()
127 if (!Tok || Tok->isNot(tok::coloncolon)) in computeUsingDeclarationLabel()
H A DTokenAnnotator.cpp2370 if (PrevToken->is(tok::coloncolon)) in determineStarAmpUsage()
2841 } else if (Next->is(tok::coloncolon)) { in isFunctionDeclarationName()
3193 if (Left.is(tok::coloncolon)) in splitPenalty()
3459 if (Left.is(tok::coloncolon)) in spaceRequiredBetween()
3590 if (Previous->is(tok::coloncolon)) { in spaceRequiredBetween()
3780 Left.MatchingParen->Previous->is(tok::coloncolon))) { in spaceRequiredBetween()
3854 if (Left.is(TT_AttributeParen) && Right.is(tok::coloncolon)) in spaceRequiredBefore()
3858 return Right.is(tok::coloncolon); in spaceRequiredBefore()
4272 if (Right.is(tok::coloncolon) && Left.is(tok::identifier)) { in spaceRequiredBefore()
4278 if (Right.is(tok::coloncolon) && in spaceRequiredBefore()
[all …]
H A DUnwrappedLineParser.cpp2304 case tok::coloncolon: in tryToParseLambda()
3000 while (FormatTok->isOneOf(tok::identifier, tok::coloncolon, tok::kw_inline, in parseNamespace()
3288 } else if (!FormatTok->is(tok::coloncolon) && in parseAccessSpecifier()
3409 case tok::coloncolon: in parseRequires()
3573 case tok::coloncolon: in parseConstraintExpression()
3617 case tok::coloncolon: // Nested identifier. in parseConstraintExpression()
3662 FormatTok->isOneOf(tok::colon, tok::coloncolon, tok::less, in parseEnum()
3857 while (FormatTok->isOneOf(tok::identifier, tok::coloncolon, tok::hashhash, in parseRecord()
4169 tok::coloncolon, tok::hash) || in parseVerilogHierarchyIdentifier()
H A DContinuationIndenter.cpp576 (Current.is(tok::kw_operator) && !Previous.is(tok::coloncolon))) && in mustBreak()
1278 Previous.isOneOf(tok::coloncolon, tok::equal, TT_JsTypeColon)) { in getNewLineColumn()
/openbsd/gnu/llvm/clang/lib/Parse/
H A DParseStmtAsm.cpp773 if (Tok.is(tok::colon) || Tok.is(tok::coloncolon)) { in ParseAsmStatement()
775 AteExtraColon = Tok.is(tok::coloncolon); in ParseAsmStatement()
785 if (AteExtraColon || Tok.is(tok::colon) || Tok.is(tok::coloncolon)) { in ParseAsmStatement()
790 AteExtraColon = Tok.is(tok::coloncolon); in ParseAsmStatement()
804 if (AteExtraColon || Tok.is(tok::colon) || Tok.is(tok::coloncolon)) { in ParseAsmStatement()
808 AteExtraColon = Tok.is(tok::coloncolon); in ParseAsmStatement()
H A DParseExprCXX.cpp70 ColonToken.setKind(tok::coloncolon); in FixDigraph()
185 if (Tok.is(tok::coloncolon)) { in ParseOptionalCXXScopeSpecifier()
206 if (!Tok.is(tok::coloncolon)) { in ParseOptionalCXXScopeSpecifier()
224 !TryConsumeToken(tok::coloncolon, CCLoc)) { in ParseOptionalCXXScopeSpecifier()
332 if (Tok.is(tok::annot_template_id) && NextToken().is(tok::coloncolon)) { in ParseOptionalCXXScopeSpecifier()
407 Next.setKind(tok::coloncolon); in ParseOptionalCXXScopeSpecifier()
411 if (Next.is(tok::coloncolon) && GetLookAheadToken(2).is(tok::l_brace)) { in ParseOptionalCXXScopeSpecifier()
422 if (Next.is(tok::coloncolon)) { in ParseOptionalCXXScopeSpecifier()
450 assert(Tok.isOneOf(tok::coloncolon, tok::colon) && in ParseOptionalCXXScopeSpecifier()
2237 case tok::coloncolon: // ::foo::bar in ParseCXXSimpleTypeSpecifier()
[all …]
H A DParseCXXInlineMethods.cpp961 if (Tok.is(tok::coloncolon)) { in ConsumeAndStoreFunctionPrologue()
977 } while (Tok.is(tok::coloncolon)); in ConsumeAndStoreFunctionPrologue()
982 if (Tok.isOneOf(tok::identifier, tok::coloncolon, tok::kw_decltype)) { in ConsumeAndStoreFunctionPrologue()
H A DParseTentative.cpp807 if (Tok.is(tok::coloncolon)) { in isCXX11AttributeSpecifier()
1336 if (Next.isNot(tok::coloncolon) && Next.isNot(tok::less)) { in isCXXDeclarationSpecifier()
1396 case tok::coloncolon: { // ::foo::bar in isCXXDeclarationSpecifier()
H A DParseDecl.cpp1904 case tok::coloncolon: in MightBeDeclarator()
1926 case tok::coloncolon: in MightBeDeclarator()
3044 Tok.isOneOf(tok::identifier, tok::coloncolon, tok::kw_decltype, in DiagnoseMissingSemiAfterTagDefinition()
3074 tok::annot_cxxscope, tok::coloncolon)) { in DiagnoseMissingSemiAfterTagDefinition()
3336 case tok::coloncolon: // ::foo::bar in ParseDeclarationSpecifiers()
3343 if (Tok.is(tok::coloncolon)) // ::new or ::delete in ParseDeclarationSpecifiers()
5269 case tok::coloncolon: // ::foo::bar in isTypeSpecifierQualifier()
5451 case tok::coloncolon: // ::foo::bar in isDeclarationSpecifier()
5733 case tok::coloncolon: in isConstructorDeclarator()
6033 (Tok.is(tok::coloncolon) || Tok.is(tok::kw_decltype) || in ParseDeclaratorInternal()
[all …]
H A DParseObjc.cpp1201 NextToken().is(tok::coloncolon)) in ParseObjCTypeQualifierList()
2957 if (Tok.isOneOf(tok::identifier, tok::coloncolon, tok::kw_typename, in ParseObjCXXMessageReceiver()
3649 Tok.isNot(tok::colon) && Tok.isNot(tok::coloncolon)) in ParseObjCSelectorExpression()
3657 if (TryConsumeToken(tok::coloncolon)) { // Handle :: in C++. in ParseObjCSelectorExpression()
3677 if (!SelIdent && Tok.isNot(tok::colon) && Tok.isNot(tok::coloncolon)) in ParseObjCSelectorExpression()
H A DParseDeclCXX.cpp105 while (Tok.is(tok::coloncolon) && in ParseNamespace()
1400 case tok::coloncolon: // struct foo {...} :: a::b; in isValidAfterTypeSpecifier()
2669 Tok.isOneOf(tok::identifier, tok::coloncolon, tok::kw___super)) { in ParseCXXClassMemberDeclaration()
3722 Tok.isOneOf(tok::identifier, tok::coloncolon)) { in ParseConstructorInitializer()
4297 if (Ident && Ident->isStr("omp") && !ExpectAndConsume(tok::coloncolon)) in ParseOpenMPAttributeArgs()
4526 if (TryConsumeToken(tok::coloncolon)) { in ParseCXX11AttributeSpecifierInternal()
H A DParser.cpp640 GetLookAheadToken(2).isNot(tok::coloncolon)) { in ParseTopLevelDecl()
721 NextToken().isNot(tok::coloncolon)) { in ParseTopLevelDecl()
1943 assert((Tok.is(tok::identifier) || Tok.is(tok::coloncolon) || in TryAnnotateTypeOrScopeToken()
H A DParseExpr.cpp1148 Next.isOneOf(tok::coloncolon, tok::less, tok::l_paren, in ParseCastExpression()
1647 case tok::coloncolon: { in ParseCastExpression()
1652 if (!Tok.is(tok::coloncolon)) in ParseCastExpression()
H A DParseStmt.cpp209 if (Next.isNot(tok::coloncolon)) { in ParseStatementOrDeclarationAfterAttributes()
839 TryConsumeToken(tok::coloncolon, ColonLoc)) { in ParseCaseStatement()
/openbsd/gnu/llvm/llvm/lib/CodeGen/MIRParser/
H A DMILexer.h38 coloncolon, enumerator
H A DMIParser.cpp1050 Token.isNot(MIToken::coloncolon) && Token.isNot(MIToken::lbrace)) { in parse()
1057 if (Token.isNewlineOrEOF() || Token.is(MIToken::coloncolon) || in parse()
1128 if (Token.is(MIToken::coloncolon)) { in parse()
3461 if (Token.isNewlineOrEOF() || Token.is(MIToken::coloncolon) || in parsePreOrPostInstrSymbol()
3477 if (Token.isNewlineOrEOF() || Token.is(MIToken::coloncolon) || in parseHeapAllocMarker()
3493 if (Token.isNewlineOrEOF() || Token.is(MIToken::coloncolon) || in parsePCSections()
H A DMILexer.cpp667 Kind = MIToken::coloncolon; in maybeLexSymbol()
/openbsd/gnu/llvm/lldb/source/Plugins/Language/ClangCommon/
H A DClangHighlighter.cpp86 case tok::coloncolon: in determineClangStyle()
/openbsd/gnu/llvm/lldb/source/Plugins/Language/CPlusPlus/
H A DCPlusPlusNameParser.cpp639 if (!ConsumeToken(tok::coloncolon)) { in ParseFullNameImpl()
657 case tok::coloncolon: // Type nesting delimiter. in ParseFullNameImpl()
/openbsd/gnu/usr.bin/binutils/gdb/
H A Dparse.c551 static const char coloncolon[2] = variable
647 memcpy (tmp + prefix_len, coloncolon, 2); in parse_nested_classes_for_hpacc()
/openbsd/gnu/llvm/clang/lib/Tooling/Syntax/
H A DTree.cpp402 return clang::tok::coloncolon; in getDelimiterTokenKind()
/openbsd/gnu/usr.bin/gcc/gcc/f/
H A Dstb.c429 bool coloncolon; /* If COLONCOLON seen (allows =expr). */ member
20525 ffestb_local_.decl.coloncolon = TRUE; in ffestb_decl_chartype()
20580 ffestb_local_.decl.coloncolon = TRUE; in ffestb_decl_chartype()
20655 ffestb_local_.decl.coloncolon = TRUE; in ffestb_decl_chartype1_()
20710 ffestb_local_.decl.coloncolon = TRUE; in ffestb_decl_dbltype()
20748 ffestb_local_.decl.coloncolon = TRUE; in ffestb_decl_dbltype()
20901 ffestb_local_.decl.coloncolon = TRUE; in ffestb_decl_gentype()
20950 ffestb_local_.decl.coloncolon = TRUE; in ffestb_decl_gentype()
21850 ffestb_local_.decl.coloncolon = TRUE; in ffestb_decl_attrs_7_()
21891 ffestb_local_.decl.coloncolon = TRUE; in ffestb_decl_attrsp_()
[all …]
/openbsd/gnu/llvm/clang/include/clang/Parse/
H A DParser.h877 (Tok.is(tok::identifier) || Tok.is(tok::coloncolon) || in MightBeCXXScopeToken()
879 NextToken().is(tok::coloncolon)) || in MightBeCXXScopeToken()

12