Searched refs:KWLoc (Results 1 - 9 of 9) sorted by relevance

/external/clang/lib/Parse/
H A DParseCXXInlineMethods.cpp76 SourceLocation KWLoc; local
82 KWLoc = ConsumeToken();
83 Actions.SetDeclDeleted(FnD, KWLoc);
90 KWLoc = ConsumeToken();
91 Actions.SetDeclDefaulted(FnD, KWLoc);
97 Diag(KWLoc, diag::err_default_delete_in_multiple_declaration)
H A DParser.cpp1050 SourceLocation KWLoc; local
1056 KWLoc = ConsumeToken();
1057 Actions.SetDeclDeleted(Res, KWLoc);
1064 KWLoc = ConsumeToken();
1065 Actions.SetDeclDefaulted(Res, KWLoc);
1071 Diag(KWLoc, diag::err_default_delete_in_multiple_declaration)
H A DParseDecl.cpp2054 SourceLocation KWLoc = Tok.getLocation(); local
2083 Attrs.addNew(PP.getIdentifierInfo("aligned"), KWLoc, 0, KWLoc,
/external/clang/lib/Sema/
H A DSemaExprCXX.cpp2855 SourceLocation KWLoc,
2863 return BuildUnaryTypeTrait(UTT, KWLoc, TSInfo, RParen);
3291 SourceLocation KWLoc,
3295 if (!CheckUnaryTypeTraitTypeCompleteness(*this, UTT, KWLoc, T))
3300 Value = EvaluateUnaryTypeTrait(*this, UTT, KWLoc, T);
3302 return Owned(new (Context) UnaryTypeTraitExpr(KWLoc, UTT, TSInfo, Value,
3307 SourceLocation KWLoc,
3321 return BuildBinaryTypeTrait(BTT, KWLoc, LhsTSInfo, RhsTSInfo, RParen);
3343 static bool evaluateTypeTrait(Sema &S, TypeTrait Kind, SourceLocation KWLoc, argument
3362 S.Diag(KWLoc, dia
2854 ActOnUnaryTypeTrait(UnaryTypeTrait UTT, SourceLocation KWLoc, ParsedType Ty, SourceLocation RParen) argument
3290 BuildUnaryTypeTrait(UnaryTypeTrait UTT, SourceLocation KWLoc, TypeSourceInfo *TSInfo, SourceLocation RParen) argument
3306 ActOnBinaryTypeTrait(BinaryTypeTrait BTT, SourceLocation KWLoc, ParsedType LhsTy, ParsedType RhsTy, SourceLocation RParen) argument
3430 BuildTypeTrait(TypeTrait Kind, SourceLocation KWLoc, ArrayRef<TypeSourceInfo *> Args, SourceLocation RParenLoc) argument
3449 ActOnTypeTrait(TypeTrait Kind, SourceLocation KWLoc, ArrayRef<ParsedType> Args, SourceLocation RParenLoc) argument
3630 BuildBinaryTypeTrait(BinaryTypeTrait BTT, SourceLocation KWLoc, TypeSourceInfo *LhsTSInfo, TypeSourceInfo *RhsTSInfo, SourceLocation RParen) argument
3666 ActOnArrayTypeTrait(ArrayTypeTrait ATT, SourceLocation KWLoc, ParsedType Ty, Expr* DimExpr, SourceLocation RParen) argument
3733 BuildArrayTypeTrait(ArrayTypeTrait ATT, SourceLocation KWLoc, TypeSourceInfo *TSInfo, Expr* DimExpr, SourceLocation RParen) argument
3756 ActOnExpressionTrait(ExpressionTrait ET, SourceLocation KWLoc, Expr *Queried, SourceLocation RParen) argument
3777 BuildExpressionTrait(ExpressionTrait ET, SourceLocation KWLoc, Expr *Queried, SourceLocation RParen) argument
[all...]
H A DSemaTemplate.cpp845 SourceLocation KWLoc, CXXScopeSpec &SS,
866 Diag(KWLoc, diag::err_template_unnamed_class);
995 TUK == TUK_Definition, KWLoc, *Name)) {
996 Diag(KWLoc, diag::err_use_with_wrong_tag)
998 << FixItHint::CreateReplacement(KWLoc, PrevRecordDecl->getKindName());
1055 CXXRecordDecl::Create(Context, Kind, SemanticContext, KWLoc, NameLoc, Name,
5195 SourceLocation KWLoc,
5207 // NOTE: KWLoc is the location of the tag keyword. This will instead
5248 Diag(KWLoc, diag::err_partial_specialization_friend)
5284 Diag(KWLoc, dia
844 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
5193 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
6306 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
6495 ActOnExplicitInstantiation(Scope *S, SourceLocation ExternLoc, SourceLocation TemplateLoc, unsigned TagSpec, SourceLocation KWLoc, CXXScopeSpec &SS, IdentifierInfo *Name, SourceLocation NameLoc, AttributeList *Attr) argument
[all...]
H A DSemaDecl.cpp8340 SourceLocation KWLoc, CXXScopeSpec &SS,
8369 = MatchTemplateParametersToScopeSpecifier(KWLoc, NameLoc, SS,
8383 DeclResult Result = CheckClassTemplate(S, TagSpec, TUK, KWLoc,
8657 TUK == TUK_Definition, KWLoc,
8663 Diag(KWLoc, diag::err_use_with_wrong_tag)
8665 << FixItHint::CreateReplacement(SourceRange(KWLoc),
8668 Diag(KWLoc, diag::err_use_with_wrong_tag) << Name;
8703 if (CheckEnumRedeclaration(NameLoc.isValid() ? NameLoc : KWLoc,
8853 SourceLocation Loc = NameLoc.isValid() ? NameLoc : KWLoc;
8864 New = EnumDecl::Create(Context, SearchDC, KWLoc, Lo
8339 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.h949 QualType RebuildAtomicType(QualType ValueType, SourceLocation KWLoc);
9071 SourceLocation KWLoc) {
9072 return SemaRef.BuildAtomicType(ValueType, KWLoc);
9070 RebuildAtomicType(QualType ValueType, SourceLocation KWLoc) argument
/external/clang/include/clang/AST/
H A DTypeLoc.h1449 SourceLocation KWLoc, LParenLoc, RParenLoc;
1458 SourceLocation getKWLoc() const { return getLocalData()->KWLoc; }
1459 void setKWLoc(SourceLocation Loc) { getLocalData()->KWLoc = Loc; }
1760 SourceLocation KWLoc, LParenLoc, RParenLoc;
1775 return this->getLocalData()->KWLoc;
1778 this->getLocalData()->KWLoc = Loc;
/external/clang/include/clang/Sema/
H A DSema.h1409 SourceLocation KWLoc, CXXScopeSpec &SS,
3750 SourceLocation KWLoc,
3755 SourceLocation KWLoc,
3762 SourceLocation KWLoc,
3768 SourceLocation KWLoc,
3774 ExprResult ActOnTypeTrait(TypeTrait Kind, SourceLocation KWLoc,
3777 ExprResult BuildTypeTrait(TypeTrait Kind, SourceLocation KWLoc,
3784 SourceLocation KWLoc,
3790 SourceLocation KWLoc,
3798 SourceLocation KWLoc,
[all...]

Completed in 168 milliseconds