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

/external/clang/lib/Parse/
H A DParseCXXInlineMethods.cpp67 SourceLocation KWLoc; local
69 if (TryConsumeToken(tok::kw_delete, KWLoc)) {
70 Diag(KWLoc, getLangOpts().CPlusPlus11
74 Actions.SetDeclDeleted(FnD, KWLoc);
79 } else if (TryConsumeToken(tok::kw_default, KWLoc)) {
80 Diag(KWLoc, getLangOpts().CPlusPlus11
84 Actions.SetDeclDefaulted(FnD, KWLoc);
93 Diag(KWLoc, diag::err_default_delete_in_multiple_declaration)
H A DParser.cpp1113 SourceLocation KWLoc; local
1114 if (TryConsumeToken(tok::kw_delete, KWLoc)) {
1115 Diag(KWLoc, getLangOpts().CPlusPlus11
1119 Actions.SetDeclDeleted(Res, KWLoc);
1121 } else if (TryConsumeToken(tok::kw_default, KWLoc)) {
1122 Diag(KWLoc, getLangOpts().CPlusPlus11
1126 Actions.SetDeclDefaulted(Res, KWLoc);
1132 Diag(KWLoc, diag::err_default_delete_in_multiple_declaration)
H A DParseDecl.cpp2516 SourceLocation KWLoc = ConsumeToken(); local
2535 Attrs.addNew(KWName, KWLoc, nullptr, KWLoc, ArgExprs.data(), 1,
/external/clang/lib/Lex/
H A DModuleMap.cpp2023 auto KWLoc = consumeToken(); local
2029 Diags.Report(KWLoc, diag::err_mmap_use_decl_submodule);
/external/clang/include/clang/AST/
H A DStmt.h656 SwitchCase(StmtClass SC, SourceLocation KWLoc, SourceLocation ColonLoc) argument
657 : Stmt(SC), NextSwitchCase(nullptr), KeywordLoc(KWLoc), ColonLoc(ColonLoc) {
/external/clang/lib/Sema/
H A DSemaExprCXX.cpp4327 static bool evaluateTypeTrait(Sema &S, TypeTrait Kind, SourceLocation KWLoc, argument
4331 return EvaluateUnaryTypeTrait(S, Kind, KWLoc, Args[0]->getType());
4364 if (S.RequireCompleteType(KWLoc, ArgTy,
4400 InitializationKind InitKind(InitializationKind::CreateDirect(KWLoc, KWLoc,
4437 ExprResult Sema::BuildTypeTrait(TypeTrait Kind, SourceLocation KWLoc, argument
4443 *this, Kind, KWLoc, Args[0]->getType()))
4456 Result = evaluateTypeTrait(*this, Kind, KWLoc, Args, RParenLoc);
4458 return TypeTraitExpr::Create(Context, ResultType, KWLoc, Kind, Args,
4462 ExprResult Sema::ActOnTypeTrait(TypeTrait Kind, SourceLocation KWLoc, argument
4656 ActOnArrayTypeTrait(ArrayTypeTrait ATT, SourceLocation KWLoc, ParsedType Ty, Expr* DimExpr, SourceLocation RParen) argument
4723 BuildArrayTypeTrait(ArrayTypeTrait ATT, SourceLocation KWLoc, TypeSourceInfo *TSInfo, Expr* DimExpr, SourceLocation RParen) argument
4745 ActOnExpressionTrait(ExpressionTrait ET, SourceLocation KWLoc, Expr *Queried, SourceLocation RParen) argument
4766 BuildExpressionTrait(ExpressionTrait ET, SourceLocation KWLoc, Expr *Queried, SourceLocation RParen) argument
[all...]
H A DSemaTemplate.cpp849 SourceLocation KWLoc, CXXScopeSpec &SS,
872 Diag(KWLoc, diag::err_template_unnamed_class);
1008 Diag(KWLoc, diag::err_using_decl_conflict_reverse);
1035 TUK == TUK_Definition, KWLoc, Name)) {
1036 Diag(KWLoc, diag::err_use_with_wrong_tag)
1038 << FixItHint::CreateReplacement(KWLoc, PrevRecordDecl->getKindName());
1054 makeMergedDefinitionVisible(Hidden, KWLoc);
1055 makeMergedDefinitionVisible(Tmpl, KWLoc);
1105 CXXRecordDecl::Create(Context, Kind, SemanticContext, KWLoc, NameLoc, Name,
6180 SourceLocation KWLoc,
848 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
6178 ActOnClassTemplateSpecialization(Scope *S, unsigned TagSpec, TagUseKind TUK, SourceLocation KWLoc, SourceLocation ModulePrivateLoc, TemplateIdAnnotation &TemplateId, AttributeList *Attr, MultiTemplateParamsArg TemplateParameterLists, SkipBodyInfo *SkipBody) argument
7320 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
7601 ActOnExplicitInstantiation(Scope *S, SourceLocation ExternLoc, SourceLocation TemplateLoc, unsigned TagSpec, SourceLocation KWLoc, CXXScopeSpec &SS, IdentifierInfo *Name, SourceLocation NameLoc, AttributeList *Attr) argument
[all...]
H A DSemaDecl.cpp12258 SourceLocation KWLoc, CXXScopeSpec &SS,
12289 KWLoc, NameLoc, SS, nullptr, TemplateParameterLists,
12292 Diag(KWLoc, diag::err_enum_template);
12304 DeclResult Result = CheckClassTemplate(S, TagSpec, TUK, KWLoc,
12634 Diag(KWLoc, diag::err_using_decl_conflict_reverse);
12655 TUK == TUK_Definition, KWLoc,
12661 Diag(KWLoc, diag::err_use_with_wrong_tag)
12663 << FixItHint::CreateReplacement(SourceRange(KWLoc),
12666 Diag(KWLoc, diag::err_use_with_wrong_tag) << Name;
12701 if (CheckEnumRedeclaration(NameLoc.isValid() ? NameLoc : KWLoc,
12257 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.h1056 QualType RebuildAtomicType(QualType ValueType, SourceLocation KWLoc);
1059 QualType RebuildPipeType(QualType ValueType, SourceLocation KWLoc);
11683 SourceLocation KWLoc) {
11684 return SemaRef.BuildAtomicType(ValueType, KWLoc);
11689 SourceLocation KWLoc) {
11690 return SemaRef.BuildPipeType(ValueType, KWLoc);
11682 RebuildAtomicType(QualType ValueType, SourceLocation KWLoc) argument
11688 RebuildPipeType(QualType ValueType, SourceLocation KWLoc) argument

Completed in 381 milliseconds