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

/external/clang/lib/Parse/
H A DParseCXXInlineMethods.cpp83 SourceLocation KWLoc; local
89 KWLoc = ConsumeToken();
90 Actions.SetDeclDeleted(FnD, KWLoc);
97 KWLoc = ConsumeToken();
98 Actions.SetDeclDefaulted(FnD, KWLoc);
104 Diag(KWLoc, diag::err_default_delete_in_multiple_declaration)
H A DParser.cpp1040 SourceLocation KWLoc; local
1046 KWLoc = ConsumeToken();
1047 Actions.SetDeclDeleted(Res, KWLoc);
1054 KWLoc = ConsumeToken();
1055 Actions.SetDeclDefaulted(Res, KWLoc);
1061 Diag(KWLoc, diag::err_default_delete_in_multiple_declaration)
H A DParseDecl.cpp2136 SourceLocation KWLoc = ConsumeToken(); local
2155 Attrs.addNew(KWName, KWLoc, 0, KWLoc, 0, T.getOpenLocation(),
/external/clang/lib/Sema/
H A DSemaExprCXX.cpp2839 SourceLocation KWLoc,
2847 return BuildUnaryTypeTrait(UTT, KWLoc, TSInfo, RParen);
3285 SourceLocation KWLoc,
3289 if (!CheckUnaryTypeTraitTypeCompleteness(*this, UTT, KWLoc, T))
3294 Value = EvaluateUnaryTypeTrait(*this, UTT, KWLoc, T);
3296 return Owned(new (Context) UnaryTypeTraitExpr(KWLoc, UTT, TSInfo, Value,
3301 SourceLocation KWLoc,
3315 return BuildBinaryTypeTrait(BTT, KWLoc, LhsTSInfo, RhsTSInfo, RParen);
3337 static bool evaluateTypeTrait(Sema &S, TypeTrait Kind, SourceLocation KWLoc, argument
3356 S.Diag(KWLoc, dia
2838 ActOnUnaryTypeTrait(UnaryTypeTrait UTT, SourceLocation KWLoc, ParsedType Ty, SourceLocation RParen) argument
3284 BuildUnaryTypeTrait(UnaryTypeTrait UTT, SourceLocation KWLoc, TypeSourceInfo *TSInfo, SourceLocation RParen) argument
3300 ActOnBinaryTypeTrait(BinaryTypeTrait BTT, SourceLocation KWLoc, ParsedType LhsTy, ParsedType RhsTy, SourceLocation RParen) argument
3424 BuildTypeTrait(TypeTrait Kind, SourceLocation KWLoc, ArrayRef<TypeSourceInfo *> Args, SourceLocation RParenLoc) argument
3443 ActOnTypeTrait(TypeTrait Kind, SourceLocation KWLoc, ArrayRef<ParsedType> Args, SourceLocation RParenLoc) argument
3624 BuildBinaryTypeTrait(BinaryTypeTrait BTT, SourceLocation KWLoc, TypeSourceInfo *LhsTSInfo, TypeSourceInfo *RhsTSInfo, SourceLocation RParen) argument
3660 ActOnArrayTypeTrait(ArrayTypeTrait ATT, SourceLocation KWLoc, ParsedType Ty, Expr* DimExpr, SourceLocation RParen) argument
3727 BuildArrayTypeTrait(ArrayTypeTrait ATT, SourceLocation KWLoc, TypeSourceInfo *TSInfo, Expr* DimExpr, SourceLocation RParen) argument
3750 ActOnExpressionTrait(ExpressionTrait ET, SourceLocation KWLoc, Expr *Queried, SourceLocation RParen) argument
3771 BuildExpressionTrait(ExpressionTrait ET, SourceLocation KWLoc, Expr *Queried, SourceLocation RParen) argument
[all...]
H A DSemaTemplate.cpp846 SourceLocation KWLoc, CXXScopeSpec &SS,
867 Diag(KWLoc, diag::err_template_unnamed_class);
996 TUK == TUK_Definition, KWLoc, *Name)) {
997 Diag(KWLoc, diag::err_use_with_wrong_tag)
999 << FixItHint::CreateReplacement(KWLoc, PrevRecordDecl->getKindName());
1056 CXXRecordDecl::Create(Context, Kind, SemanticContext, KWLoc, NameLoc, Name,
5205 SourceLocation KWLoc,
5217 // NOTE: KWLoc is the location of the tag keyword. This will instead
5258 Diag(KWLoc, diag::err_partial_specialization_friend)
5294 Diag(KWLoc, dia
845 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
5203 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
6332 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
6521 ActOnExplicitInstantiation(Scope *S, SourceLocation ExternLoc, SourceLocation TemplateLoc, unsigned TagSpec, SourceLocation KWLoc, CXXScopeSpec &SS, IdentifierInfo *Name, SourceLocation NameLoc, AttributeList *Attr) argument
[all...]
H A DSemaDecl.cpp9307 SourceLocation KWLoc, CXXScopeSpec &SS,
9336 = MatchTemplateParametersToScopeSpecifier(KWLoc, NameLoc, SS,
9350 DeclResult Result = CheckClassTemplate(S, TagSpec, TUK, KWLoc,
9624 TUK == TUK_Definition, KWLoc,
9630 Diag(KWLoc, diag::err_use_with_wrong_tag)
9632 << FixItHint::CreateReplacement(SourceRange(KWLoc),
9635 Diag(KWLoc, diag::err_use_with_wrong_tag) << Name;
9670 if (CheckEnumRedeclaration(NameLoc.isValid() ? NameLoc : KWLoc,
9820 SourceLocation Loc = NameLoc.isValid() ? NameLoc : KWLoc;
9831 New = EnumDecl::Create(Context, SearchDC, KWLoc, Lo
9306 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.h958 QualType RebuildAtomicType(QualType ValueType, SourceLocation KWLoc);
9140 SourceLocation KWLoc) {
9141 return SemaRef.BuildAtomicType(ValueType, KWLoc);
9139 RebuildAtomicType(QualType ValueType, SourceLocation KWLoc) argument
/external/clang/include/clang/AST/
H A DTypeLoc.h1494 SourceLocation KWLoc, LParenLoc, RParenLoc;
1503 SourceLocation getKWLoc() const { return getLocalData()->KWLoc; }
1504 void setKWLoc(SourceLocation Loc) { getLocalData()->KWLoc = Loc; }
1805 SourceLocation KWLoc, LParenLoc, RParenLoc;
1820 return this->getLocalData()->KWLoc;
1823 this->getLocalData()->KWLoc = Loc;
H A DStmt.h637 SwitchCase(StmtClass SC, SourceLocation KWLoc, SourceLocation ColonLoc) argument
638 : Stmt(SC), NextSwitchCase(0), KeywordLoc(KWLoc), ColonLoc(ColonLoc) {}
/external/clang/include/clang/Sema/
H A DSema.h1542 SourceLocation KWLoc, CXXScopeSpec &SS,
3950 SourceLocation KWLoc,
3955 SourceLocation KWLoc,
3962 SourceLocation KWLoc,
3968 SourceLocation KWLoc,
3974 ExprResult ActOnTypeTrait(TypeTrait Kind, SourceLocation KWLoc,
3977 ExprResult BuildTypeTrait(TypeTrait Kind, SourceLocation KWLoc,
3984 SourceLocation KWLoc,
3990 SourceLocation KWLoc,
3998 SourceLocation KWLoc,
[all...]

Completed in 625 milliseconds