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

/external/clang/lib/Parse/
H A DParseCXXInlineMethods.cpp82 SourceLocation KWLoc; local
88 KWLoc = ConsumeToken();
89 Actions.SetDeclDeleted(FnD, KWLoc);
96 KWLoc = ConsumeToken();
97 Actions.SetDeclDefaulted(FnD, KWLoc);
103 Diag(KWLoc, diag::err_default_delete_in_multiple_declaration)
H A DParser.cpp1075 SourceLocation KWLoc; local
1081 KWLoc = ConsumeToken();
1082 Actions.SetDeclDeleted(Res, KWLoc);
1089 KWLoc = ConsumeToken();
1090 Actions.SetDeclDefaulted(Res, KWLoc);
1096 Diag(KWLoc, diag::err_default_delete_in_multiple_declaration)
H A DParseDecl.cpp2298 SourceLocation KWLoc = ConsumeToken(); local
2317 Attrs.addNew(KWName, KWLoc, 0, KWLoc, 0, T.getOpenLocation(),
/external/clang/include/clang/AST/
H A DStmt.h630 SwitchCase(StmtClass SC, SourceLocation KWLoc, SourceLocation ColonLoc) argument
631 : Stmt(SC), NextSwitchCase(0), KeywordLoc(KWLoc), ColonLoc(ColonLoc) {}
/external/clang/lib/Sema/
H A DSemaExprCXX.cpp2948 SourceLocation KWLoc,
2956 return BuildUnaryTypeTrait(UTT, KWLoc, TSInfo, RParen);
3439 SourceLocation KWLoc,
3443 if (!CheckUnaryTypeTraitTypeCompleteness(*this, UTT, KWLoc, T))
3448 Value = EvaluateUnaryTypeTrait(*this, UTT, KWLoc, T);
3450 return Owned(new (Context) UnaryTypeTraitExpr(KWLoc, UTT, TSInfo, Value,
3455 SourceLocation KWLoc,
3469 return BuildBinaryTypeTrait(BTT, KWLoc, LhsTSInfo, RhsTSInfo, RParen);
3491 static bool evaluateTypeTrait(Sema &S, TypeTrait Kind, SourceLocation KWLoc, argument
3510 S.Diag(KWLoc, dia
2947 ActOnUnaryTypeTrait(UnaryTypeTrait UTT, SourceLocation KWLoc, ParsedType Ty, SourceLocation RParen) argument
3438 BuildUnaryTypeTrait(UnaryTypeTrait UTT, SourceLocation KWLoc, TypeSourceInfo *TSInfo, SourceLocation RParen) argument
3454 ActOnBinaryTypeTrait(BinaryTypeTrait BTT, SourceLocation KWLoc, ParsedType LhsTy, ParsedType RhsTy, SourceLocation RParen) argument
3577 BuildTypeTrait(TypeTrait Kind, SourceLocation KWLoc, ArrayRef<TypeSourceInfo *> Args, SourceLocation RParenLoc) argument
3596 ActOnTypeTrait(TypeTrait Kind, SourceLocation KWLoc, ArrayRef<ParsedType> Args, SourceLocation RParenLoc) argument
3777 BuildBinaryTypeTrait(BinaryTypeTrait BTT, SourceLocation KWLoc, TypeSourceInfo *LhsTSInfo, TypeSourceInfo *RhsTSInfo, SourceLocation RParen) argument
3813 ActOnArrayTypeTrait(ArrayTypeTrait ATT, SourceLocation KWLoc, ParsedType Ty, Expr* DimExpr, SourceLocation RParen) argument
3880 BuildArrayTypeTrait(ArrayTypeTrait ATT, SourceLocation KWLoc, TypeSourceInfo *TSInfo, Expr* DimExpr, SourceLocation RParen) argument
3903 ActOnExpressionTrait(ExpressionTrait ET, SourceLocation KWLoc, Expr *Queried, SourceLocation RParen) argument
3924 BuildExpressionTrait(ExpressionTrait ET, SourceLocation KWLoc, Expr *Queried, SourceLocation RParen) argument
[all...]
H A DSemaTemplate.cpp849 SourceLocation KWLoc, CXXScopeSpec &SS,
870 Diag(KWLoc, diag::err_template_unnamed_class);
999 TUK == TUK_Definition, KWLoc, *Name)) {
1000 Diag(KWLoc, diag::err_use_with_wrong_tag)
1002 << FixItHint::CreateReplacement(KWLoc, PrevRecordDecl->getKindName());
1060 CXXRecordDecl::Create(Context, Kind, SemanticContext, KWLoc, NameLoc, Name,
5661 SourceLocation KWLoc,
5673 // NOTE: KWLoc is the location of the tag keyword. This will instead
5709 Diag(KWLoc, diag::err_partial_specialization_friend)
5745 Diag(KWLoc, dia
848 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
5659 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
6782 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
6980 ActOnExplicitInstantiation(Scope *S, SourceLocation ExternLoc, SourceLocation TemplateLoc, unsigned TagSpec, SourceLocation KWLoc, CXXScopeSpec &SS, IdentifierInfo *Name, SourceLocation NameLoc, AttributeList *Attr) argument
[all...]
H A DSemaDecl.cpp10033 SourceLocation KWLoc, CXXScopeSpec &SS,
10063 KWLoc, NameLoc, SS, TemplateParameterLists, TUK == TUK_Friend,
10066 Diag(KWLoc, diag::err_enum_template);
10078 DeclResult Result = CheckClassTemplate(S, TagSpec, TUK, KWLoc,
10378 TUK == TUK_Definition, KWLoc,
10384 Diag(KWLoc, diag::err_use_with_wrong_tag)
10386 << FixItHint::CreateReplacement(SourceRange(KWLoc),
10389 Diag(KWLoc, diag::err_use_with_wrong_tag) << Name;
10424 if (CheckEnumRedeclaration(NameLoc.isValid() ? NameLoc : KWLoc,
10584 SourceLocation Loc = NameLoc.isValid() ? NameLoc : KWLoc;
10032 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) argument
[all...]
H A DTreeTransform.h976 QualType RebuildAtomicType(QualType ValueType, SourceLocation KWLoc);
9438 SourceLocation KWLoc) {
9439 return SemaRef.BuildAtomicType(ValueType, KWLoc);
9437 RebuildAtomicType(QualType ValueType, SourceLocation KWLoc) argument

Completed in 194 milliseconds