Searched defs:KWLoc (Results 1 - 7 of 7) sorted by relevance

/external/clang/lib/Parse/
H A DParseCXXInlineMethods.cpp68 SourceLocation KWLoc; local
74 KWLoc = ConsumeToken();
75 Actions.SetDeclDeleted(FnD, KWLoc);
82 KWLoc = ConsumeToken();
83 Actions.SetDeclDefaulted(FnD, KWLoc);
89 Diag(KWLoc, diag::err_default_delete_in_multiple_declaration)
H A DParser.cpp919 SourceLocation KWLoc; local
925 KWLoc = ConsumeToken();
926 Actions.SetDeclDeleted(Res, KWLoc);
933 KWLoc = ConsumeToken();
934 Actions.SetDeclDefaulted(Res, KWLoc);
940 Diag(KWLoc, diag::err_default_delete_in_multiple_declaration)
H A DParseDecl.cpp1517 SourceLocation KWLoc = Tok.getLocation(); local
1536 Attrs.addNew(PP.getIdentifierInfo("aligned"), KWLoc, 0, KWLoc,
/external/clang/lib/Sema/
H A DSemaExprCXX.cpp2567 SourceLocation KWLoc,
2575 return BuildUnaryTypeTrait(UTT, KWLoc, TSInfo, RParen);
2993 SourceLocation KWLoc,
2997 if (!CheckUnaryTypeTraitTypeCompleteness(*this, UTT, KWLoc, T))
3002 Value = EvaluateUnaryTypeTrait(*this, UTT, KWLoc, T);
3004 return Owned(new (Context) UnaryTypeTraitExpr(KWLoc, UTT, TSInfo, Value,
3009 SourceLocation KWLoc,
3023 return BuildBinaryTypeTrait(BTT, KWLoc, LhsTSInfo, RhsTSInfo, RParen);
3119 SourceLocation KWLoc,
3128 Diag(KWLoc, dia
2566 ActOnUnaryTypeTrait(UnaryTypeTrait UTT, SourceLocation KWLoc, ParsedType Ty, SourceLocation RParen) argument
2992 BuildUnaryTypeTrait(UnaryTypeTrait UTT, SourceLocation KWLoc, TypeSourceInfo *TSInfo, SourceLocation RParen) argument
3008 ActOnBinaryTypeTrait(BinaryTypeTrait BTT, SourceLocation KWLoc, ParsedType LhsTy, ParsedType RhsTy, SourceLocation RParen) argument
3118 BuildBinaryTypeTrait(BinaryTypeTrait BTT, SourceLocation KWLoc, TypeSourceInfo *LhsTSInfo, TypeSourceInfo *RhsTSInfo, SourceLocation RParen) argument
3153 ActOnArrayTypeTrait(ArrayTypeTrait ATT, SourceLocation KWLoc, ParsedType Ty, Expr* DimExpr, SourceLocation RParen) argument
3222 BuildArrayTypeTrait(ArrayTypeTrait ATT, SourceLocation KWLoc, TypeSourceInfo *TSInfo, Expr* DimExpr, SourceLocation RParen) argument
3245 ActOnExpressionTrait(ExpressionTrait ET, SourceLocation KWLoc, Expr *Queried, SourceLocation RParen) argument
3266 BuildExpressionTrait(ExpressionTrait ET, SourceLocation KWLoc, Expr *Queried, SourceLocation RParen) argument
[all...]
H A DSemaTemplate.cpp810 SourceLocation KWLoc, CXXScopeSpec &SS,
831 Diag(KWLoc, diag::err_template_unnamed_class);
940 TUK == TUK_Definition, KWLoc, *Name)) {
941 Diag(KWLoc, diag::err_use_with_wrong_tag)
943 << FixItHint::CreateReplacement(KWLoc, PrevRecordDecl->getKindName());
996 CXXRecordDecl::Create(Context, Kind, SemanticContext, KWLoc, NameLoc, Name,
4761 SourceLocation KWLoc,
4773 // NOTE: KWLoc is the location of the tag keyword. This will instead
4814 Diag(KWLoc, diag::err_partial_specialization_friend)
4850 Diag(KWLoc, dia
809 CheckClassTemplate(Scope *S, unsigned TagSpec, TagUseKind TUK, SourceLocation KWLoc, CXXScopeSpec &SS, IdentifierInfo *Name, SourceLocation NameLoc, AttributeList *Attr, TemplateParameterList *TemplateParams, AccessSpecifier AS, SourceLocation ModulePrivateLoc, unsigned NumOuterTemplateParamLists, TemplateParameterList** OuterTemplateParamLists) argument
4759 ActOnClassTemplateSpecialization(Scope *S, unsigned TagSpec, TagUseKind TUK, SourceLocation KWLoc, SourceLocation ModulePrivateLoc, CXXScopeSpec &SS, TemplateTy TemplateD, SourceLocation TemplateNameLoc, SourceLocation LAngleLoc, ASTTemplateArgsPtr TemplateArgsIn, SourceLocation RAngleLoc, AttributeList *Attr, MultiTemplateParamsArg TemplateParameterLists) argument
5813 ActOnExplicitInstantiation(Scope *S, SourceLocation ExternLoc, SourceLocation TemplateLoc, unsigned TagSpec, SourceLocation KWLoc, const CXXScopeSpec &SS, TemplateTy TemplateD, SourceLocation TemplateNameLoc, SourceLocation LAngleLoc, ASTTemplateArgsPtr TemplateArgsIn, SourceLocation RAngleLoc, AttributeList *Attr) argument
6003 ActOnExplicitInstantiation(Scope *S, SourceLocation ExternLoc, SourceLocation TemplateLoc, unsigned TagSpec, SourceLocation KWLoc, CXXScopeSpec &SS, IdentifierInfo *Name, SourceLocation NameLoc, AttributeList *Attr) argument
[all...]
H A DSemaDecl.cpp7502 SourceLocation KWLoc, CXXScopeSpec &SS,
7528 = MatchTemplateParametersToScopeSpecifier(KWLoc, NameLoc, SS,
7542 DeclResult Result = CheckClassTemplate(S, TagSpec, TUK, KWLoc,
7820 TUK == TUK_Definition, KWLoc,
7826 Diag(KWLoc, diag::err_use_with_wrong_tag)
7828 << FixItHint::CreateReplacement(SourceRange(KWLoc),
7831 Diag(KWLoc, diag::err_use_with_wrong_tag) << Name;
7850 Diag(KWLoc, diag::err_enum_redeclare_scoped_mismatch)
7863 Diag(NameLoc.isValid() ? NameLoc : KWLoc,
7872 Diag(KWLoc, dia
7501 ActOnTag(Scope *S, unsigned TagSpec, TagUseKind TUK, SourceLocation KWLoc, CXXScopeSpec &SS, IdentifierInfo *Name, SourceLocation NameLoc, AttributeList *Attr, AccessSpecifier AS, SourceLocation ModulePrivateLoc, MultiTemplateParamsArg TemplateParameterLists, bool &OwnedDecl, bool &IsDependent, bool ScopedEnum, bool ScopedEnumUsesClassTag, TypeResult UnderlyingType) argument
[all...]
H A DTreeTransform.h912 QualType RebuildAtomicType(QualType ValueType, SourceLocation KWLoc);
8363 SourceLocation KWLoc) {
8364 return SemaRef.BuildAtomicType(ValueType, KWLoc);
8362 RebuildAtomicType(QualType ValueType, SourceLocation KWLoc) argument

Completed in 141 milliseconds