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

/external/clang/lib/Parse/
H A DParseCXXInlineMethods.cpp66 SourceLocation KWLoc; local
68 if (TryConsumeToken(tok::kw_delete, KWLoc)) {
69 Diag(KWLoc, getLangOpts().CPlusPlus11
73 Actions.SetDeclDeleted(FnD, KWLoc);
78 } else if (TryConsumeToken(tok::kw_default, KWLoc)) {
79 Diag(KWLoc, getLangOpts().CPlusPlus11
83 Actions.SetDeclDefaulted(FnD, KWLoc);
92 Diag(KWLoc, diag::err_default_delete_in_multiple_declaration)
H A DParser.cpp1094 SourceLocation KWLoc; local
1095 if (TryConsumeToken(tok::kw_delete, KWLoc)) {
1096 Diag(KWLoc, getLangOpts().CPlusPlus11
1100 Actions.SetDeclDeleted(Res, KWLoc);
1102 } else if (TryConsumeToken(tok::kw_default, KWLoc)) {
1103 Diag(KWLoc, getLangOpts().CPlusPlus11
1107 Actions.SetDeclDefaulted(Res, KWLoc);
1113 Diag(KWLoc, diag::err_default_delete_in_multiple_declaration)
H A DParseDecl.cpp2461 SourceLocation KWLoc = ConsumeToken(); local
2480 Attrs.addNew(KWName, KWLoc, nullptr, KWLoc, ArgExprs.data(), 1,
/external/clang/lib/Sema/
H A DSemaTemplate.cpp834 SourceLocation KWLoc, CXXScopeSpec &SS,
857 Diag(KWLoc, diag::err_template_unnamed_class);
986 Diag(KWLoc, diag::err_using_decl_conflict_reverse);
1013 TUK == TUK_Definition, KWLoc, Name)) {
1014 Diag(KWLoc, diag::err_use_with_wrong_tag)
1016 << FixItHint::CreateReplacement(KWLoc, PrevRecordDecl->getKindName());
1032 makeMergedDefinitionVisible(Hidden, KWLoc);
1033 makeMergedDefinitionVisible(Tmpl, KWLoc);
1088 CXXRecordDecl::Create(Context, Kind, SemanticContext, KWLoc, NameLoc, Name,
6136 SourceLocation KWLoc,
833 CheckClassTemplate(Scope *S, unsigned TagSpec, TagUseKind TUK, SourceLocation KWLoc, CXXScopeSpec &SS, IdentifierInfo *Name, SourceLocation NameLoc, AttributeList *Attr, TemplateParameterList *TemplateParams, AccessSpecifier AS, SourceLocation ModulePrivateLoc, SourceLocation FriendLoc, unsigned NumOuterTemplateParamLists, TemplateParameterList** OuterTemplateParamLists, SkipBodyInfo *SkipBody) argument
6134 ActOnClassTemplateSpecialization(Scope *S, unsigned TagSpec, TagUseKind TUK, SourceLocation KWLoc, SourceLocation ModulePrivateLoc, TemplateIdAnnotation &TemplateId, AttributeList *Attr, MultiTemplateParamsArg TemplateParameterLists, SkipBodyInfo *SkipBody) argument
7244 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
7485 ActOnExplicitInstantiation(Scope *S, SourceLocation ExternLoc, SourceLocation TemplateLoc, unsigned TagSpec, SourceLocation KWLoc, CXXScopeSpec &SS, IdentifierInfo *Name, SourceLocation NameLoc, AttributeList *Attr) argument
[all...]
H A DSemaExprCXX.cpp4067 static bool evaluateTypeTrait(Sema &S, TypeTrait Kind, SourceLocation KWLoc, argument
4071 return EvaluateUnaryTypeTrait(S, Kind, KWLoc, Args[0]->getType());
4104 if (S.RequireCompleteType(KWLoc, ArgTy,
4140 InitializationKind InitKind(InitializationKind::CreateDirect(KWLoc, KWLoc,
4177 ExprResult Sema::BuildTypeTrait(TypeTrait Kind, SourceLocation KWLoc, argument
4183 *this, Kind, KWLoc, Args[0]->getType()))
4196 Result = evaluateTypeTrait(*this, Kind, KWLoc, Args, RParenLoc);
4198 return TypeTraitExpr::Create(Context, ResultType, KWLoc, Kind, Args,
4202 ExprResult Sema::ActOnTypeTrait(TypeTrait Kind, SourceLocation KWLoc, argument
4392 ActOnArrayTypeTrait(ArrayTypeTrait ATT, SourceLocation KWLoc, ParsedType Ty, Expr* DimExpr, SourceLocation RParen) argument
4459 BuildArrayTypeTrait(ArrayTypeTrait ATT, SourceLocation KWLoc, TypeSourceInfo *TSInfo, Expr* DimExpr, SourceLocation RParen) argument
4481 ActOnExpressionTrait(ExpressionTrait ET, SourceLocation KWLoc, Expr *Queried, SourceLocation RParen) argument
4502 BuildExpressionTrait(ExpressionTrait ET, SourceLocation KWLoc, Expr *Queried, SourceLocation RParen) argument
[all...]
H A DSemaDecl.cpp11818 SourceLocation KWLoc, CXXScopeSpec &SS,
11849 KWLoc, NameLoc, SS, nullptr, TemplateParameterLists,
11852 Diag(KWLoc, diag::err_enum_template);
11864 DeclResult Result = CheckClassTemplate(S, TagSpec, TUK, KWLoc,
12199 Diag(KWLoc, diag::err_using_decl_conflict_reverse);
12220 TUK == TUK_Definition, KWLoc,
12226 Diag(KWLoc, diag::err_use_with_wrong_tag)
12228 << FixItHint::CreateReplacement(SourceRange(KWLoc),
12231 Diag(KWLoc, diag::err_use_with_wrong_tag) << Name;
12266 if (CheckEnumRedeclaration(NameLoc.isValid() ? NameLoc : KWLoc,
11817 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, SkipBodyInfo *SkipBody) argument
[all...]
H A DTreeTransform.h1047 QualType RebuildAtomicType(QualType ValueType, SourceLocation KWLoc);
11343 SourceLocation KWLoc) {
11344 return SemaRef.BuildAtomicType(ValueType, KWLoc);
11342 RebuildAtomicType(QualType ValueType, SourceLocation KWLoc) argument
/external/clang/include/clang/AST/
H A DTypeLoc.h1667 SourceLocation KWLoc, LParenLoc, RParenLoc;
1676 SourceLocation getKWLoc() const { return getLocalData()->KWLoc; }
1677 void setKWLoc(SourceLocation Loc) { getLocalData()->KWLoc = Loc; }
1982 SourceLocation KWLoc, LParenLoc, RParenLoc;
1997 return this->getLocalData()->KWLoc;
2000 this->getLocalData()->KWLoc = Loc;
H A DStmt.h644 SwitchCase(StmtClass SC, SourceLocation KWLoc, SourceLocation ColonLoc) argument
645 : Stmt(SC), NextSwitchCase(nullptr), KeywordLoc(KWLoc), ColonLoc(ColonLoc) {
/external/clang/include/clang/Sema/
H A DSema.h1891 SourceLocation KWLoc, CXXScopeSpec &SS,
4710 ExprResult ActOnTypeTrait(TypeTrait Kind, SourceLocation KWLoc,
4713 ExprResult BuildTypeTrait(TypeTrait Kind, SourceLocation KWLoc,
4720 SourceLocation KWLoc,
4726 SourceLocation KWLoc,
4734 SourceLocation KWLoc,
4739 SourceLocation KWLoc,
5613 SourceLocation KWLoc, CXXScopeSpec &SS,
5691 SourceLocation KWLoc,
5724 SourceLocation KWLoc,
[all...]
/external/clang/lib/Lex/
H A DModuleMap.cpp2019 auto KWLoc = consumeToken(); local
2025 Diags.Report(KWLoc, diag::err_mmap_use_decl_submodule);

Completed in 2857 milliseconds