Home
last modified time | relevance | path

Searched refs:EqualLoc (Results 1 – 13 of 13) sorted by relevance

/external/clang/lib/Parse/
DParseTemplate.cpp525 SourceLocation EqualLoc; in ParseTypeParameter() local
527 if (TryConsumeToken(tok::equal, EqualLoc)) in ParseTypeParameter()
533 EqualLoc, DefaultArg); in ParseTypeParameter()
630 SourceLocation EqualLoc; in ParseTemplateTemplateParameter() local
632 if (TryConsumeToken(tok::equal, EqualLoc)) { in ParseTemplateTemplateParameter()
645 Position, EqualLoc, DefaultArg); in ParseTemplateTemplateParameter()
678 SourceLocation EqualLoc; in ParseNonTypeTemplateParameter() local
680 if (TryConsumeToken(tok::equal, EqualLoc)) { in ParseNonTypeTemplateParameter()
696 Depth, Position, EqualLoc, in ParseNonTypeTemplateParameter()
DParseCXXInlineMethods.cpp338 SourceLocation EqualLoc = ConsumeToken(); in ParseLexedMethodDeclaration() local
354 Actions.ActOnParamDefaultArgumentError(Param, EqualLoc); in ParseLexedMethodDeclaration()
365 Actions.ActOnParamDefaultArgument(Param, EqualLoc, in ParseLexedMethodDeclaration()
628 SourceLocation EqualLoc; in ParseLexedMemberInitializer() local
633 EqualLoc); in ParseLexedMemberInitializer()
635 Actions.ActOnFinishCXXInClassMemberInitializer(MI.Field, EqualLoc, in ParseLexedMemberInitializer()
DParseInit.cpp346 SourceLocation EqualLoc = ConsumeToken(); in ParseInitializerWithPotentialDesignator() local
347 return Actions.ActOnDesignatedInitializer(Desig, EqualLoc, false, in ParseInitializerWithPotentialDesignator()
DParseDecl.cpp1927 SourceLocation EqualLoc = ConsumeToken(); in ParseDeclarationAfterDeclaratorAndAttributes() local
1959 Diag(EqualLoc, diag::err_single_decl_assign_in_for_range) in ParseDeclarationAfterDeclaratorAndAttributes()
1960 << FixItHint::CreateReplacement(EqualLoc, ":"); in ParseDeclarationAfterDeclaratorAndAttributes()
1963 FRI->ColonLoc = EqualLoc; in ParseDeclarationAfterDeclaratorAndAttributes()
3963 SourceLocation EqualLoc; in ParseEnumBody() local
3967 if (TryConsumeToken(tok::equal, EqualLoc)) { in ParseEnumBody()
3977 attrs.getList(), EqualLoc, in ParseEnumBody()
3996 if (EqualLoc.isValid()) in ParseEnumBody()
5650 SourceLocation EqualLoc = Tok.getLocation(); in ParseParameterDeclarationClause() local
5664 Actions.ActOnParamDefaultArgumentError(Param, EqualLoc); in ParseParameterDeclarationClause()
[all …]
DParseDeclCXX.cpp2375 SourceLocation EqualLoc; in ParseCXXClassMemberDeclaration() local
2397 EqualLoc = ConsumeToken(); in ParseCXXClassMemberDeclaration()
2559 ThisDecl, DeclaratorInfo.isDeclarationOfFunction(), EqualLoc); in ParseCXXClassMemberDeclaration()
2564 Actions.AddInitializerToDecl(ThisDecl, Init.get(), EqualLoc.isInvalid(), in ParseCXXClassMemberDeclaration()
2659 SourceLocation &EqualLoc) { in ParseCXXMemberInitializer() argument
2666 if (TryConsumeToken(tok::equal, EqualLoc)) { in ParseCXXMemberInitializer()
/external/clang/include/clang/Sema/
DInitialization.h529 SourceLocation EqualLoc,
533 InitLoc, EqualLoc, EqualLoc);
DSema.h1569 SourceLocation EqualLoc,
1572 SourceLocation EqualLoc,
1574 void ActOnParamDefaultArgumentError(Decl *param, SourceLocation EqualLoc);
1576 SourceLocation EqualLoc);
1850 SourceLocation EqualLoc, Expr *Val);
2076 SourceLocation EqualLoc,
4917 SourceLocation EqualLoc,
5296 SourceLocation EqualLoc,
5303 SourceLocation EqualLoc,
5313 SourceLocation EqualLoc,
/external/llvm/lib/MC/MCParser/
DAsmParser.cpp2176 SMLoc EqualLoc = Lexer.getLoc(); in parseAssignment() local
2201 return Error(EqualLoc, "Recursive use of '" + Name + "'"); in parseAssignment()
2207 return Error(EqualLoc, "redefinition of '" + Name + "'"); in parseAssignment()
2209 return Error(EqualLoc, "invalid assignment to '" + Name + "'"); in parseAssignment()
2211 return Error(EqualLoc, "invalid reassignment of non-absolute variable '" + in parseAssignment()
2218 Error(EqualLoc, "expected absolute expression"); in parseAssignment()
/external/clang/lib/Sema/
DSemaDeclCXX.cpp251 SourceLocation EqualLoc) { in SetParamDefaultArgument() argument
267 EqualLoc); in SetParamDefaultArgument()
274 CheckCompletedExpr(Arg, EqualLoc); in SetParamDefaultArgument()
299 Sema::ActOnParamDefaultArgument(Decl *param, SourceLocation EqualLoc, in ActOnParamDefaultArgument() argument
309 Diag(EqualLoc, diag::err_param_default_argument) in ActOnParamDefaultArgument()
325 Diag(EqualLoc, diag::err_param_default_argument_on_parameter_pack) in ActOnParamDefaultArgument()
337 SetParamDefaultArgument(Param, DefaultArg, EqualLoc); in ActOnParamDefaultArgument()
345 SourceLocation EqualLoc, in ActOnParamUnparsedDefaultArgument() argument
358 SourceLocation EqualLoc) { in ActOnParamDefaultArgumentError() argument
366 OpaqueValueExpr(EqualLoc, in ActOnParamDefaultArgumentError()
DSemaTemplate.cpp553 SourceLocation EqualLoc, in ActOnTypeParameter() argument
584 Diag(EqualLoc, diag::err_template_param_pack_default_arg); in ActOnTypeParameter()
667 SourceLocation EqualLoc, in ActOnNonTypeTemplateParameter() argument
708 Diag(EqualLoc, diag::err_template_param_pack_default_arg); in ActOnNonTypeTemplateParameter()
744 SourceLocation EqualLoc, in ActOnTemplateTemplateParameter() argument
777 Diag(EqualLoc, diag::err_template_param_pack_default_arg); in ActOnTemplateTemplateParameter()
DSemaInit.cpp7342 SourceLocation EqualLoc, in PerformCopyInitialization() argument
7352 if (EqualLoc.isInvalid()) in PerformCopyInitialization()
7353 EqualLoc = InitE->getLocStart(); in PerformCopyInitialization()
7356 EqualLoc, in PerformCopyInitialization()
DSemaDecl.cpp13429 SourceLocation EqualLoc, Expr *Val) { in ActOnEnumConstant() argument
/external/clang/include/clang/Parse/
DParser.h2297 SourceLocation &EqualLoc);