Home
last modified time | relevance | path

Searched refs:comma (Results 1 – 25 of 189) sorted by relevance

12345678

/llvm-project-15.0.7/llvm/test/MC/COFF/
H A Dcv-def-range-errors.s4 # 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 Dobjc-messaging-1.m10 // 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 Dobjc-try-catch-1.m31 // 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 Dmips-pdr-bad.s7 .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 Daltmacro_string.s46 # 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 Dsuspicious-missing-comma.rst1 .. 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 DParseOpenMP.cpp616 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 DParseTemplate.cpp356 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 DParseDecl.cpp237 } 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 DParseInit.cpp482 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 DParseTentative.cpp320 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 DMacroParenthesesCheck.cpp44 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 DLLParser.cpp2141 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 DTreeTest.cpp237 {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 Dheader-guard.rst13 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 Ddirective-eabi_attribute-diagnostics.s28 @ CHECK: error: comma expected
33 @ CHECK: error: comma expected
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/google/
H A Dglobal-names-in-headers.rst17 A comma-separated list of filename extensions of header files (the filename
21 "h,hh,hpp,hxx," (note the trailing comma).
H A Dbuild-namespaces.rst20 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 Dnamelist.cpp32 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 DMIParser.cpp612 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 DTokenAnnotator.cpp372 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 DTGParser.cpp756 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 Dalloca-addrspace-parse-error-0.ll5 ; CHECK: :8:3: error: expected metadata after comma
H A Dinvalid-load-missing-explicit-type.ll2 ; CHECK: <stdin>:4:18: error: expected comma after load's type
H A Dinvalid-gep-missing-explicit-type.ll2 ; CHECK: <stdin>:4:27: error: expected comma after getelementptr's type

12345678