| /llvm-project-15.0.7/llvm/test/MC/COFF/ |
| H A D | cv-def-range-errors.s | 4 # CHECK: error: expected comma before def_range type in .cv_def_range directive 11 # CHECK: error: expected comma before register number in .cv_def_range directive 19 # CHECK: error: expected comma before offset in .cv_def_range directive 30 # CHECK: error: expected comma before def_range type in .cv_def_range directive 37 # CHECK: error: expected comma before register number in .cv_def_range directive 48 # CHECK: error: expected comma before def_range type in .cv_def_range directive 55 # CHECK: error: expected comma before offset in .cv_def_range directive 67 # CHECK: error: expected comma before def_range type in .cv_def_range directive 74 # CHECK: error: expected comma before register number in .cv_def_range directive 82 # CHECK: error: expected comma before flag value in .cv_def_range directive [all …]
|
| /llvm-project-15.0.7/clang/test/Parser/ |
| H A D | objc-messaging-1.m | 10 // expected-warning 2{{left operand of comma operator has no effect}} 12 // expected-warning 2{{left operand of comma operator has no effect}} 14 // expected-warning 4{{left operand of comma operator has no effect}} 16 // expected-warning 2{{left operand of comma operator has no effect}} 18 // expected-warning 2{{left operand of comma operator has no effect}} 20 // expected-warning 2{{left operand of comma operator has no effect}} 24 // expected-warning 2{{left operand of comma operator has no effect}}
|
| H A D | objc-try-catch-1.m | 31 // expected-warning {{left operand of comma operator has no effect}} 37 @throw (4,3,proc()); // expected-warning 2{{left operand of comma operator has no effect}}
|
| /llvm-project-15.0.7/llvm/test/MC/Mips/ |
| H A D | mips-pdr-bad.s | 7 .ent bar, # ASM: :[[@LINE]]:19: error: expected number after comma 8 .ent foo, bar # AMS: :[[@LINE]]:23: error: expected an absolute expression after comma 14 .frame $sp # ASM: :[[@LINE]]:20: error: unexpected token, expected comma 17 .frame $sp, 8 # ASM: :[[@LINE]]:23: error: unexpected token, expected comma 24 .mask 0x80000000 # ASM: :[[@LINE]]:26: error: unexpected token, expected comma 31 .fmask 0x80000000 # ASM: :[[@LINE]]:27: error: unexpected token, expected comma
|
| /llvm-project-15.0.7/llvm/test/MC/AsmParser/ |
| H A D | altmacro_string.s | 46 # If a comma is present inside an angle brackets, 47 # the comma considered as a character and not as a separator. 49 # arguments according to the use of the comma. 50 # Fun2 sees the comma as a character. 51 # Fun3 sees the comma as a separator.
|
| /llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/bugprone/ |
| H A D | suspicious-missing-comma.rst | 1 .. title:: clang-tidy - bugprone-suspicious-missing-comma 3 bugprone-suspicious-missing-comma 17 A common mistake done by programmers is to forget a comma between two string 24 "line 2" // Missing comma!
|
| /llvm-project-15.0.7/clang/lib/Parse/ |
| H A D | ParseOpenMP.cpp | 616 if (Tok.is(tok::comma)) in ParseOpenMPDeclareMapperDirective() 786 if (Tok.is(tok::comma)) in parseDeclareSimdClauses() 1486 if (Tok.is(tok::comma)) in ParseOMPDeclareVariantClauses() 1532 if (!Tok.is(tok::comma)) in parseInteropTypeList() 1579 if (Tok.is(tok::comma)) in parseOpenMPAppendArgs() 1941 if (Tok.is(tok::comma)) in ParseOMPDeclareTargetClauses() 2162 if (Tok.is(tok::comma)) in ParseOpenMPDeclarativeDirectiveWithExtDecl() 2900 if (Tok.is(tok::comma)) in ParseOpenMPDeclarativeOrExecutableDirective() 3116 if (Tok.is(tok::comma)) in ParseOpenMPUsesAllocatorClause() 3763 Tok.is(tok::comma)) in ParseOpenMPSingleExprWithArgClause() [all …]
|
| H A D | ParseTemplate.cpp | 356 if (Tok.is(tok::comma)) { in ParseSingleDeclarationAfterTemplate() 514 SkipUntil(tok::comma, tok::greater, tok::greatergreater, in ParseTemplateParameterList() 519 if (Tok.is(tok::comma)) { in ParseTemplateParameterList() 529 SkipUntil(tok::comma, tok::greater, tok::greatergreater, in ParseTemplateParameterList() 545 case tok::comma: in isStartOfTemplateTypeParameter() 562 case tok::comma: in isStartOfTemplateTypeParameter() 602 case tok::comma: in isStartOfTemplateTypeParameter() 679 SkipUntil(tok::comma, tok::greater, tok::greatergreater, in ParseTemplateParameter() 827 } else if (Tok.isOneOf(tok::equal, tok::comma, tok::greater, in ParseTypeParameter() 1631 } while (TryConsumeToken(tok::comma)); in ParseTemplateArgumentList() [all …]
|
| H A D | ParseDecl.cpp | 237 } while (Tok.is(tok::comma)); in ParseGNUAttributes() 704 if (TryConsumeToken(tok::comma)) in ParseMicrosoftDeclSpecArgs() 761 if (TryConsumeToken(tok::comma)) in ParseMicrosoftDeclSpecs() 1127 if (ExpectAndConsume(tok::comma)) { in ParseAvailabilityAttribute() 1452 if (ExpectAndConsume(tok::comma)) { in ParseObjCBridgeRelatedAttribute() 1469 if (!TryConsumeToken(tok::comma)) { in ParseObjCBridgeRelatedAttribute() 1563 if (ExpectAndConsume(tok::comma)) { in ParseTypeTagForDatatypeAttribute() 1913 case tok::comma: in MightBeDeclarator() 2805 case tok::comma: in ParseImplicitInt() 6457 if (Tok.is(tok::comma)) in ParseDecompositionDeclarator() [all …]
|
| H A D | ParseInit.cpp | 482 if (Tok.isNot(tok::comma)) break; in ParseBraceInitializer() 518 if (Tok.isNot(tok::comma)) { in ParseBraceInitializer() 525 if (Tok.isNot(tok::comma)) break; in ParseBraceInitializer() 598 if (Tok.is(tok::comma)) { in ParseMicrosoftIfExistsBraceInitializer()
|
| H A D | ParseTentative.cpp | 320 if (!TryConsumeToken(tok::comma)) in TryParseInitDeclaratorList() 533 if (!TryConsumeToken(tok::comma)) in isCXXConditionDeclarationOrInitStatement() 610 (Tok.isOneOf(tok::greater, tok::comma) || in isCXXTypeId() 617 tok::comma)))))) { in isCXXTypeId() 749 if (Tok.is(tok::comma)) { in isCXX11AttributeSpecifier() 783 if (!TryConsumeToken(tok::comma)) in isCXX11AttributeSpecifier() 1116 tok::identifier, tok::comma); in TentativeParseCCC() 1804 if (Tok.is(tok::comma)) { in TryParseProtocolQualifiers() 1975 if (!SkipUntil(tok::comma, tok::r_paren, StopAtSemi | StopBeforeMatch)) in TryParseParameterDeclarationClause() 1987 if (!TryConsumeToken(tok::comma)) in TryParseParameterDeclarationClause() [all …]
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/ |
| H A D | MacroParenthesesCheck.cpp | 44 return T.isOneOf(tok::l_paren, tok::l_brace, tok::l_square, tok::comma, in isSurroundedLeft() 50 return T.isOneOf(tok::r_paren, tok::r_brace, tok::r_square, tok::comma, in isSurroundedRight() 121 if (Count == 0 && Tok.isOneOf(tok::comma, tok::semi)) in replacementList() 241 if (PP->getLangOpts().CPlusPlus && Prev.isOneOf(tok::comma, tok::less) && in argument() 242 Next.isOneOf(tok::comma, tok::greater)) in argument()
|
| /llvm-project-15.0.7/llvm/lib/AsmParser/ |
| H A D | LLParser.cpp | 2141 while (EatIfPresent(lltok::comma)) { in parseOptionalCommaAlign() 2196 if (EatIfPresent(lltok::comma)) { in parseAllocSizeArguments() 2225 if (EatIfPresent(lltok::comma)) { in parseVScaleRangeArguments() 2333 if (Lex.getKind() != lltok::comma) in parseIndexList() 3313 parseToken(lltok::comma, in parseValID() 6996 if (!EatIfPresent(lltok::comma)) in parsePHI() 7223 if (EatIfPresent(lltok::comma)) { in parseAlloc() 7922 if (EatIfPresent(lltok::comma)) { in parseTypeIdSummary() 8431 if (!EatIfPresent(lltok::comma)) { in parseGVEntry() 8997 if (EatIfPresent(lltok::comma)) { in parseParamAccess() [all …]
|
| /llvm-project-15.0.7/clang/unittests/Tooling/Syntax/ |
| H A D | TreeTest.cpp | 237 {createLeaf(*Arena, *TM, tok::comma), NodeRole::ListDelimiter}, in TEST_P() 239 {createLeaf(*Arena, *TM, tok::comma), NodeRole::ListDelimiter}, in TEST_P() 258 {createLeaf(*Arena, *TM, tok::comma), NodeRole::ListDelimiter}, in TEST_P() 259 {createLeaf(*Arena, *TM, tok::comma), NodeRole::ListDelimiter}, in TEST_P() 278 {createLeaf(*Arena, *TM, tok::comma), NodeRole::ListDelimiter}, in TEST_P() 298 {createLeaf(*Arena, *TM, tok::comma), NodeRole::ListDelimiter}, in TEST_P() 300 {createLeaf(*Arena, *TM, tok::comma), NodeRole::ListDelimiter}, in TEST_P()
|
| /llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/llvm/ |
| H A D | header-guard.rst | 13 A comma-separated list of filename extensions of header files (the filename 17 "h,hh,hpp,hxx," (note the trailing comma).
|
| /llvm-project-15.0.7/llvm/test/MC/ARM/ |
| H A D | directive-eabi_attribute-diagnostics.s | 28 @ CHECK: error: comma expected 33 @ CHECK: error: comma expected
|
| /llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/google/ |
| H A D | global-names-in-headers.rst | 17 A comma-separated list of filename extensions of header files (the filename 21 "h,hh,hpp,hxx," (note the trailing comma).
|
| H A D | build-namespaces.rst | 20 A comma-separated list of filename extensions of header files (the filename 24 "h,hh,hpp,hxx," (note the trailing comma).
|
| /llvm-project-15.0.7/flang/runtime/ |
| H A D | namelist.cpp | 32 char comma{static_cast<char>(GetComma(io))}; in IONAME() local 64 if (!(EmitWithAdvance(j == 0 ? ' ' : comma) && EmitUpperCase(item.name) && in IONAME() 153 char32_t comma{GetComma(io)}; in HandleSubscripts() local 214 if (ch && *ch == comma) { in HandleSubscripts() 376 char32_t comma{GetComma(io)}; in IONAME() local 482 if (next && *next == comma) { in IONAME()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/MIRParser/ |
| H A D | MIParser.cpp | 612 case MIToken::comma: in toString() 995 if (Token.isNot(MIToken::comma)) in parse() 1022 if (Token.isNot(MIToken::comma)) in parse() 1049 if (Token.is(MIToken::comma)) in parse() 1081 if (Token.isNot(MIToken::comma)) in parse() 1274 if (Token.isNot(MIToken::comma)) in parseMDNodeVector() 1770 if (Token.is(MIToken::comma)) in parseTargetImmMnemonic() 1783 if (!Token.is(MIToken::comma)) in parseTargetImmMnemonic() 2745 if (Token.isNot(MIToken::comma)) in parseLiveoutRegisterMaskOperand() 3359 if (Token.isNot(MIToken::comma)) in parsePreOrPostInstrSymbol() [all …]
|
| /llvm-project-15.0.7/clang/lib/Format/ |
| H A D | TokenAnnotator.cpp | 372 if (CurrentToken->is(tok::comma)) in parseParens() 470 if (CurrentToken->is(tok::comma)) in parseParens() 861 if (CurrentToken->is(tok::comma)) { in parseBrace() 878 if (Current->is(tok::comma)) { in updateParameterCount() 1199 case tok::comma: in consumeToken() 2315 if (NextToken->isOneOf(tok::comma, tok::semi)) in determineStarAmpUsage() 3213 if (Left.is(tok::comma)) in splitPenalty() 3315 if (Right.isOneOf(tok::semi, tok::comma)) in spaceRequiredBetween() 3816 if (Left.is(tok::comma) && Right.is(tok::comma)) in spaceRequiredBefore() 3999 if (Right.is(tok::comma)) in spaceRequiredBefore() [all …]
|
| /llvm-project-15.0.7/llvm/lib/TableGen/ |
| H A D | TGParser.cpp | 756 while (consume(tgtok::comma)) in ParseRangeList() 1753 if (!consume(tgtok::comma)) { in ParseOperationSubstr() 1765 if (consume(tgtok::comma)) { in ParseOperationSubstr() 1841 if (!consume(tgtok::comma)) { in ParseOperationFind() 1853 if (consume(tgtok::comma)) { in ParseOperationFind() 1939 if (!consume(tgtok::comma)) { in ParseOperationForEachFilter() 1948 if (!consume(tgtok::comma)) { in ParseOperationForEachFilter() 2653 if (!consume(tgtok::comma)) in ParseDagArgList() 2718 if (!consume(tgtok::comma)) in ParseTemplateArgValueList() 3355 if (!consume(tgtok::comma)) { in ParseAssert() [all …]
|
| /llvm-project-15.0.7/llvm/test/Assembler/ |
| H A D | alloca-addrspace-parse-error-0.ll | 5 ; CHECK: :8:3: error: expected metadata after comma
|
| H A D | invalid-load-missing-explicit-type.ll | 2 ; CHECK: <stdin>:4:18: error: expected comma after load's type
|
| H A D | invalid-gep-missing-explicit-type.ll | 2 ; CHECK: <stdin>:4:27: error: expected comma after getelementptr's type
|