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

/external/clang/lib/Parse/
H A DParseCXXInlineMethods.cpp73 SourceLocation KWLoc; local
74 if (TryConsumeToken(tok::kw_delete, KWLoc)) {
75 Diag(KWLoc, getLangOpts().CPlusPlus11
78 Actions.SetDeclDeleted(FnD, KWLoc);
80 } else if (TryConsumeToken(tok::kw_default, KWLoc)) {
81 Diag(KWLoc, getLangOpts().CPlusPlus11
84 Actions.SetDeclDefaulted(FnD, KWLoc);
90 Diag(KWLoc, diag::err_default_delete_in_multiple_declaration)
H A DParser.cpp1049 SourceLocation KWLoc; local
1050 if (TryConsumeToken(tok::kw_delete, KWLoc)) {
1051 Diag(KWLoc, getLangOpts().CPlusPlus11
1054 Actions.SetDeclDeleted(Res, KWLoc);
1056 } else if (TryConsumeToken(tok::kw_default, KWLoc)) {
1057 Diag(KWLoc, getLangOpts().CPlusPlus11
1060 Actions.SetDeclDefaulted(Res, KWLoc);
1066 Diag(KWLoc, diag::err_default_delete_in_multiple_declaration)
H A DParseDecl.cpp2272 SourceLocation KWLoc = ConsumeToken(); local
2291 Attrs.addNew(KWName, KWLoc, nullptr, KWLoc, ArgExprs.data(), 1,
/external/clang/include/clang/AST/
H A DStmt.h648 SwitchCase(StmtClass SC, SourceLocation KWLoc, SourceLocation ColonLoc) argument
649 : Stmt(SC), NextSwitchCase(nullptr), KeywordLoc(KWLoc), ColonLoc(ColonLoc) {
/external/clang/lib/Sema/
H A DSemaExprCXX.cpp3598 static bool evaluateTypeTrait(Sema &S, TypeTrait Kind, SourceLocation KWLoc, argument
3602 return EvaluateUnaryTypeTrait(S, Kind, KWLoc, Args[0]->getType());
3635 if (S.RequireCompleteType(KWLoc, ArgTy,
3669 InitializationKind InitKind(InitializationKind::CreateDirect(KWLoc, KWLoc,
3706 ExprResult Sema::BuildTypeTrait(TypeTrait Kind, SourceLocation KWLoc, argument
3712 *this, Kind, KWLoc, Args[0]->getType()))
3725 Result = evaluateTypeTrait(*this, Kind, KWLoc, Args, RParenLoc);
3727 return TypeTraitExpr::Create(Context, ResultType, KWLoc, Kind, Args,
3731 ExprResult Sema::ActOnTypeTrait(TypeTrait Kind, SourceLocation KWLoc, argument
3922 ActOnArrayTypeTrait(ArrayTypeTrait ATT, SourceLocation KWLoc, ParsedType Ty, Expr* DimExpr, SourceLocation RParen) argument
3989 BuildArrayTypeTrait(ArrayTypeTrait ATT, SourceLocation KWLoc, TypeSourceInfo *TSInfo, Expr* DimExpr, SourceLocation RParen) argument
4011 ActOnExpressionTrait(ExpressionTrait ET, SourceLocation KWLoc, Expr *Queried, SourceLocation RParen) argument
4032 BuildExpressionTrait(ExpressionTrait ET, SourceLocation KWLoc, Expr *Queried, SourceLocation RParen) argument
[all...]
H A DSemaTemplate.cpp836 SourceLocation KWLoc, CXXScopeSpec &SS,
857 Diag(KWLoc, diag::err_template_unnamed_class);
988 TUK == TUK_Definition, KWLoc, *Name)) {
989 Diag(KWLoc, diag::err_use_with_wrong_tag)
991 << FixItHint::CreateReplacement(KWLoc, PrevRecordDecl->getKindName());
1050 CXXRecordDecl::Create(Context, Kind, SemanticContext, KWLoc, NameLoc, Name,
5933 SourceLocation KWLoc,
5942 // NOTE: KWLoc is the location of the tag keyword. This will instead
5945 ? TemplateParameterLists[0]->getTemplateLoc() : KWLoc;
5972 KWLoc, TemplateNameLo
835 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
5931 ActOnClassTemplateSpecialization(Scope *S, unsigned TagSpec, TagUseKind TUK, SourceLocation KWLoc, SourceLocation ModulePrivateLoc, TemplateIdAnnotation &TemplateId, AttributeList *Attr, MultiTemplateParamsArg TemplateParameterLists) argument
7034 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
7232 ActOnExplicitInstantiation(Scope *S, SourceLocation ExternLoc, SourceLocation TemplateLoc, unsigned TagSpec, SourceLocation KWLoc, CXXScopeSpec &SS, IdentifierInfo *Name, SourceLocation NameLoc, AttributeList *Attr) argument
[all...]
H A DSemaDecl.cpp10729 SourceLocation KWLoc, CXXScopeSpec &SS,
10760 KWLoc, NameLoc, SS, nullptr, TemplateParameterLists,
10763 Diag(KWLoc, diag::err_enum_template);
10775 DeclResult Result = CheckClassTemplate(S, TagSpec, TUK, KWLoc,
11072 TUK == TUK_Definition, KWLoc,
11078 Diag(KWLoc, diag::err_use_with_wrong_tag)
11080 << FixItHint::CreateReplacement(SourceRange(KWLoc),
11083 Diag(KWLoc, diag::err_use_with_wrong_tag) << Name;
11118 if (CheckEnumRedeclaration(NameLoc.isValid() ? NameLoc : KWLoc,
11289 SourceLocation Loc = NameLoc.isValid() ? NameLoc : KWLoc;
10728 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, SourceLocation ScopedEnumKWLoc, bool ScopedEnumUsesClassTag, TypeResult UnderlyingType, bool IsTypeSpecifier) argument
[all...]
H A DTreeTransform.h999 QualType RebuildAtomicType(QualType ValueType, SourceLocation KWLoc);
9983 SourceLocation KWLoc) {
9984 return SemaRef.BuildAtomicType(ValueType, KWLoc);
9982 RebuildAtomicType(QualType ValueType, SourceLocation KWLoc) argument

Completed in 313 milliseconds