/freebsd-12-stable/contrib/llvm-project/clang/lib/Parse/ |
H A D | ParseCXXInlineMethods.cpp | 64 SourceLocation KWLoc; local 66 if (TryConsumeToken(tok::kw_delete, KWLoc)) { 67 Diag(KWLoc, getLangOpts().CPlusPlus11 71 Actions.SetDeclDeleted(FnD, KWLoc); 76 } else if (TryConsumeToken(tok::kw_default, KWLoc)) { 77 Diag(KWLoc, getLangOpts().CPlusPlus11 81 Actions.SetDeclDefaulted(FnD, KWLoc); 90 Diag(KWLoc, diag::err_default_delete_in_multiple_declaration)
|
H A D | Parser.cpp | 1279 SourceLocation KWLoc; local 1280 if (TryConsumeToken(tok::kw_delete, KWLoc)) { 1281 Diag(KWLoc, getLangOpts().CPlusPlus11 1285 Actions.SetDeclDeleted(Res, KWLoc); 1287 } else if (TryConsumeToken(tok::kw_default, KWLoc)) { 1288 Diag(KWLoc, getLangOpts().CPlusPlus11 1292 Actions.SetDeclDefaulted(Res, KWLoc); 1298 Diag(KWLoc, diag::err_default_delete_in_multiple_declaration)
|
H A D | ParseExprCXX.cpp | 3889 SourceLocation KWLoc = ConsumeToken(); 3917 return Actions.ActOnBuiltinBitCastExpr(KWLoc, DeclaratorInfo, Operand,
|
H A D | ParseDecl.cpp | 2859 SourceLocation KWLoc = ConsumeToken(); local 2878 Attrs.addNew(KWName, KWLoc, nullptr, KWLoc, ArgExprs.data(), 1,
|
/freebsd-12-stable/contrib/llvm-project/clang/include/clang/AST/ |
H A D | TypeLoc.h | 1887 SourceLocation KWLoc, LParenLoc, RParenLoc; 1896 SourceLocation getKWLoc() const { return getLocalData()->KWLoc; } 1897 void setKWLoc(SourceLocation Loc) { getLocalData()->KWLoc = Loc; } 2355 SourceLocation KWLoc, LParenLoc, RParenLoc; 2370 return this->getLocalData()->KWLoc; 2374 this->getLocalData()->KWLoc = Loc; 2414 SourceLocation KWLoc; 2424 SourceLocation getKWLoc() const { return this->getLocalData()->KWLoc; } 2425 void setKWLoc(SourceLocation Loc) { this->getLocalData()->KWLoc = Loc; }
|
H A D | ExprCXX.h | 4819 SourceLocation KWLoc; member in class:clang::final 4824 TypeSourceInfo *DstType, SourceLocation KWLoc, 4828 KWLoc(KWLoc), RParenLoc(RParenLoc) {} 4830 SourceLocation getBeginLoc() const LLVM_READONLY { return KWLoc; } 4823 BuiltinBitCastExpr(QualType T, ExprValueKind VK, CastKind CK, Expr *SrcExpr, TypeSourceInfo *DstType, SourceLocation KWLoc, SourceLocation RParenLoc) argument
|
H A D | Stmt.h | 1482 SwitchCase(StmtClass SC, SourceLocation KWLoc, SourceLocation ColonLoc) argument 1484 setKeywordLoc(KWLoc);
|
/freebsd-12-stable/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaExprCXX.cpp | 4921 static bool evaluateTypeTrait(Sema &S, TypeTrait Kind, SourceLocation KWLoc, 4925 return EvaluateUnaryTypeTrait(S, Kind, KWLoc, Args[0]->getType()); 4961 if (S.RequireCompleteType(KWLoc, ArgTy, 4998 InitializationKind InitKind(InitializationKind::CreateDirect(KWLoc, KWLoc, 5041 ExprResult Sema::BuildTypeTrait(TypeTrait Kind, SourceLocation KWLoc, 5047 *this, Kind, KWLoc, Args[0]->getType())) 5060 Result = evaluateTypeTrait(*this, Kind, KWLoc, Args, RParenLoc); 5062 return TypeTraitExpr::Create(Context, ResultType, KWLoc, Kind, Args, 5066 ExprResult Sema::ActOnTypeTrait(TypeTrait Kind, SourceLocation KWLoc, [all...] |
H A D | SemaTemplate.cpp | 1570 Scope *S, unsigned TagSpec, TagUseKind TUK, SourceLocation KWLoc, 1590 Diag(KWLoc, diag::err_template_unnamed_class); 1726 Diag(KWLoc, diag::err_using_decl_conflict_reverse); 1753 TUK == TUK_Definition, KWLoc, Name)) { 1754 Diag(KWLoc, diag::err_use_with_wrong_tag) 1756 << FixItHint::CreateReplacement(KWLoc, PrevRecordDecl->getKindName()); 1832 CXXRecordDecl::Create(Context, Kind, SemanticContext, KWLoc, NameLoc, Name, 8000 Scope *S, unsigned TagSpec, TagUseKind TUK, SourceLocation KWLoc, 8006 // NOTE: KWLoc is the location of the tag keyword. This will instead 8009 ? TemplateParameterLists[0]->getTemplateLoc() : KWLoc; 1569 CheckClassTemplate( Scope *S, unsigned TagSpec, TagUseKind TUK, SourceLocation KWLoc, CXXScopeSpec &SS, IdentifierInfo *Name, SourceLocation NameLoc, const ParsedAttributesView &Attr, TemplateParameterList *TemplateParams, AccessSpecifier AS, SourceLocation ModulePrivateLoc, SourceLocation FriendLoc, unsigned NumOuterTemplateParamLists, TemplateParameterList **OuterTemplateParamLists, SkipBodyInfo *SkipBody) argument 7999 ActOnClassTemplateSpecialization( Scope *S, unsigned TagSpec, TagUseKind TUK, SourceLocation KWLoc, SourceLocation ModulePrivateLoc, CXXScopeSpec &SS, TemplateIdAnnotation &TemplateId, const ParsedAttributesView &Attr, MultiTemplateParamsArg TemplateParameterLists, SkipBodyInfo *SkipBody) argument 9276 ActOnExplicitInstantiation( Scope *S, SourceLocation ExternLoc, SourceLocation TemplateLoc, unsigned TagSpec, SourceLocation KWLoc, const CXXScopeSpec &SS, TemplateTy TemplateD, SourceLocation TemplateNameLoc, SourceLocation LAngleLoc, ASTTemplateArgsPtr TemplateArgsIn, SourceLocation RAngleLoc, const ParsedAttributesView &Attr) argument 9576 ActOnExplicitInstantiation(Scope *S, SourceLocation ExternLoc, SourceLocation TemplateLoc, unsigned TagSpec, SourceLocation KWLoc, CXXScopeSpec &SS, IdentifierInfo *Name, SourceLocation NameLoc, const ParsedAttributesView &Attr) argument [all...] |
H A D | SemaCast.cpp | 335 ExprResult Sema::ActOnBuiltinBitCastExpr(SourceLocation KWLoc, Declarator &D, argument 344 return BuildBuiltinBitCastExpr(KWLoc, TInfo, Operand.get(), RParenLoc); 347 ExprResult Sema::BuildBuiltinBitCastExpr(SourceLocation KWLoc, argument 351 Op.OpRange = SourceRange(KWLoc, RParenLoc); 363 Op.SrcExpr.get(), TSI, KWLoc, RParenLoc);
|
H A D | SemaCoroutine.cpp | 600 bool Sema::ActOnCoroutineBodyStart(Scope *SC, SourceLocation KWLoc, argument 602 if (!checkCoroutineContext(*this, KWLoc, Keyword)) 631 Diag(KWLoc, diag::note_declared_coroutine_here) << Keyword;
|
H A D | SemaDecl.cpp | 14849 SourceLocation KWLoc, CXXScopeSpec &SS, 14880 KWLoc, NameLoc, SS, nullptr, TemplateParameterLists, 14883 Diag(KWLoc, diag::err_enum_template); 14896 S, TagSpec, TUK, KWLoc, SS, Name, NameLoc, Attrs, TemplateParams, 14963 SourceLocation Loc = NameLoc.isValid() ? NameLoc : KWLoc; 14967 New = EnumDecl::Create(Context, SearchDC, KWLoc, Loc, Name, nullptr, 14981 New = RecordDecl::Create(Context, Kind, SearchDC, KWLoc, Loc, Name, 15278 Diag(KWLoc, diag::err_using_decl_conflict_reverse); 15299 TUK == TUK_Definition, KWLoc, 15305 Diag(KWLoc, dia 14848 ActOnTag(Scope *S, unsigned TagSpec, TagUseKind TUK, SourceLocation KWLoc, CXXScopeSpec &SS, IdentifierInfo *Name, SourceLocation NameLoc, const ParsedAttributesView &Attrs, AccessSpecifier AS, SourceLocation ModulePrivateLoc, MultiTemplateParamsArg TemplateParameterLists, bool &OwnedDecl, bool &IsDependent, SourceLocation ScopedEnumKWLoc, bool ScopedEnumUsesClassTag, TypeResult UnderlyingType, bool IsTypeSpecifier, bool IsTemplateParamOrArg, SkipBodyInfo *SkipBody) argument [all...] |
H A D | TreeTransform.h | 1172 QualType RebuildAtomicType(QualType ValueType, SourceLocation KWLoc); 1175 QualType RebuildPipeType(QualType ValueType, SourceLocation KWLoc, 2710 ExprResult RebuildBuiltinBitCastExpr(SourceLocation KWLoc, argument 2713 return getSema().BuildBuiltinBitCastExpr(KWLoc, TSI, Sub, RParenLoc); 13428 SourceLocation KWLoc) { 13429 return SemaRef.BuildAtomicType(ValueType, KWLoc); 13434 SourceLocation KWLoc, 13436 return isReadPipe ? SemaRef.BuildReadPipeType(ValueType, KWLoc) 13437 : SemaRef.BuildWritePipeType(ValueType, KWLoc); 13427 RebuildAtomicType(QualType ValueType, SourceLocation KWLoc) argument 13433 RebuildPipeType(QualType ValueType, SourceLocation KWLoc, bool isReadPipe) argument
|
/freebsd-12-stable/contrib/llvm-project/clang/include/clang/Sema/ |
H A D | Sema.h | 2573 SourceLocation KWLoc, CXXScopeSpec &SS, IdentifierInfo *Name, 5577 ExprResult ActOnBuiltinBitCastExpr(SourceLocation KWLoc, Declarator &Dcl, 5581 ExprResult BuildBuiltinBitCastExpr(SourceLocation KWLoc, TypeSourceInfo *TSI, 5804 ExprResult ActOnTypeTrait(TypeTrait Kind, SourceLocation KWLoc, 5807 ExprResult BuildTypeTrait(TypeTrait Kind, SourceLocation KWLoc, 5814 SourceLocation KWLoc, 5820 SourceLocation KWLoc, 5828 SourceLocation KWLoc, 5833 SourceLocation KWLoc, 7017 Scope *S, unsigned TagSpec, TagUseKind TUK, SourceLocation KWLoc, [all...] |
/freebsd-12-stable/contrib/llvm-project/clang/lib/Lex/ |
H A D | ModuleMap.cpp | 2541 auto KWLoc = consumeToken(); local 2547 Diags.Report(KWLoc, diag::err_mmap_use_decl_submodule);
|
/freebsd-12-stable/contrib/llvm-project/clang/lib/Serialization/ |
H A D | ASTReaderStmt.cpp | 1666 E->KWLoc = readSourceLocation();
|