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

/netbsd-current/external/apache2/llvm/dist/clang/lib/Parse/
H A DParseCXXInlineMethods.cpp64 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 DParser.cpp1314 SourceLocation KWLoc; local
1315 if (TryConsumeToken(tok::kw_delete, KWLoc)) {
1316 Diag(KWLoc, getLangOpts().CPlusPlus11
1320 Actions.SetDeclDeleted(Res, KWLoc);
1322 } else if (TryConsumeToken(tok::kw_default, KWLoc)) {
1323 Diag(KWLoc, getLangOpts().CPlusPlus11
1327 Actions.SetDeclDefaulted(Res, KWLoc);
1333 Diag(KWLoc, diag::err_default_delete_in_multiple_declaration)
H A DParseExprCXX.cpp3974 SourceLocation KWLoc = ConsumeToken();
4002 return Actions.ActOnBuiltinBitCastExpr(KWLoc, DeclaratorInfo, Operand,
H A DParseDecl.cpp2840 SourceLocation KWLoc = ConsumeToken(); local
2859 Attrs.addNew(KWName, KWLoc, nullptr, KWLoc, ArgExprs.data(), 1,
/netbsd-current/external/apache2/llvm/dist/clang/include/clang/AST/
H A DTypeLoc.h1999 SourceLocation KWLoc, LParenLoc, RParenLoc;
2008 SourceLocation getKWLoc() const { return getLocalData()->KWLoc; }
2009 void setKWLoc(SourceLocation Loc) { getLocalData()->KWLoc = Loc; }
2467 SourceLocation KWLoc, LParenLoc, RParenLoc;
2482 return this->getLocalData()->KWLoc;
2486 this->getLocalData()->KWLoc = Loc;
2526 SourceLocation KWLoc;
2536 SourceLocation getKWLoc() const { return this->getLocalData()->KWLoc; }
2537 void setKWLoc(SourceLocation Loc) { this->getLocalData()->KWLoc = Loc; }
H A DExprCXX.h4884 SourceLocation KWLoc; member in class:clang::final
4889 TypeSourceInfo *DstType, SourceLocation KWLoc,
4893 KWLoc(KWLoc), RParenLoc(RParenLoc) {}
4897 SourceLocation getBeginLoc() const LLVM_READONLY { return KWLoc; }
4888 BuiltinBitCastExpr(QualType T, ExprValueKind VK, CastKind CK, Expr *SrcExpr, TypeSourceInfo *DstType, SourceLocation KWLoc, SourceLocation RParenLoc) argument
H A DStmt.h1533 SwitchCase(StmtClass SC, SourceLocation KWLoc, SourceLocation ColonLoc) argument
1535 setKeywordLoc(KWLoc);
/netbsd-current/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaExprCXX.cpp5164 static bool evaluateTypeTrait(Sema &S, TypeTrait Kind, SourceLocation KWLoc,
5168 return EvaluateUnaryTypeTrait(S, Kind, KWLoc, Args[0]->getType());
5204 if (S.RequireCompleteType(KWLoc, ArgTy,
5240 InitializationKind InitKind(InitializationKind::CreateDirect(KWLoc, KWLoc,
5283 ExprResult Sema::BuildTypeTrait(TypeTrait Kind, SourceLocation KWLoc,
5289 *this, Kind, KWLoc, Args[0]->getType()))
5302 Result = evaluateTypeTrait(*this, Kind, KWLoc, Args, RParenLoc);
5304 return TypeTraitExpr::Create(Context, ResultType, KWLoc, Kind, Args,
5308 ExprResult Sema::ActOnTypeTrait(TypeTrait Kind, SourceLocation KWLoc,
[all...]
H A DSemaTemplate.cpp1714 Scope *S, unsigned TagSpec, TagUseKind TUK, SourceLocation KWLoc,
1734 Diag(KWLoc, diag::err_template_unnamed_class);
1870 Diag(KWLoc, diag::err_using_decl_conflict_reverse);
1897 TUK == TUK_Definition, KWLoc, Name)) {
1898 Diag(KWLoc, diag::err_use_with_wrong_tag)
1900 << FixItHint::CreateReplacement(KWLoc, PrevRecordDecl->getKindName());
1976 CXXRecordDecl::Create(Context, Kind, SemanticContext, KWLoc, NameLoc, Name,
8229 Scope *S, unsigned TagSpec, TagUseKind TUK, SourceLocation KWLoc,
8235 // NOTE: KWLoc is the location of the tag keyword. This will instead
8238 ? TemplateParameterLists[0]->getTemplateLoc() : KWLoc;
1713 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
8228 ActOnClassTemplateSpecialization( Scope *S, unsigned TagSpec, TagUseKind TUK, SourceLocation KWLoc, SourceLocation ModulePrivateLoc, CXXScopeSpec &SS, TemplateIdAnnotation &TemplateId, const ParsedAttributesView &Attr, MultiTemplateParamsArg TemplateParameterLists, SkipBodyInfo *SkipBody) argument
9511 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
9816 ActOnExplicitInstantiation(Scope *S, SourceLocation ExternLoc, SourceLocation TemplateLoc, unsigned TagSpec, SourceLocation KWLoc, CXXScopeSpec &SS, IdentifierInfo *Name, SourceLocation NameLoc, const ParsedAttributesView &Attr) argument
[all...]
H A DDeclSpec.cpp934 bool DeclSpec::SetExtIntType(SourceLocation KWLoc, Expr *BitsExpr, argument
949 TSTLoc = KWLoc;
950 TSTNameLoc = KWLoc;
H A DSemaCoroutine.cpp729 bool Sema::ActOnCoroutineBodyStart(Scope *SC, SourceLocation KWLoc, argument
731 if (!checkCoroutineContext(*this, KWLoc, Keyword))
760 Diag(KWLoc, diag::note_declared_coroutine_here) << Keyword;
H A DSemaCast.cpp373 ExprResult Sema::ActOnBuiltinBitCastExpr(SourceLocation KWLoc, Declarator &D, argument
382 return BuildBuiltinBitCastExpr(KWLoc, TInfo, Operand.get(), RParenLoc);
385 ExprResult Sema::BuildBuiltinBitCastExpr(SourceLocation KWLoc, argument
389 Op.OpRange = SourceRange(KWLoc, RParenLoc);
401 Op.SrcExpr.get(), TSI, KWLoc, RParenLoc);
H A DSemaDecl.cpp15481 SourceLocation KWLoc, CXXScopeSpec &SS,
15512 KWLoc, NameLoc, SS, nullptr, TemplateParameterLists,
15515 Diag(KWLoc, diag::err_enum_template);
15528 S, TagSpec, TUK, KWLoc, SS, Name, NameLoc, Attrs, TemplateParams,
15599 SourceLocation Loc = NameLoc.isValid() ? NameLoc : KWLoc;
15603 New = EnumDecl::Create(Context, SearchDC, KWLoc, Loc, Name, nullptr,
15617 New = RecordDecl::Create(Context, Kind, SearchDC, KWLoc, Loc, Name,
15916 Diag(KWLoc, diag::err_using_decl_conflict_reverse);
15937 TUK == TUK_Definition, KWLoc,
15943 Diag(KWLoc, dia
15480 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 DTreeTransform.h1192 QualType RebuildAtomicType(QualType ValueType, SourceLocation KWLoc);
1195 QualType RebuildPipeType(QualType ValueType, SourceLocation KWLoc,
2979 ExprResult RebuildBuiltinBitCastExpr(SourceLocation KWLoc, argument
2982 return getSema().BuildBuiltinBitCastExpr(KWLoc, TSI, Sub, RParenLoc);
14405 SourceLocation KWLoc) {
14406 return SemaRef.BuildAtomicType(ValueType, KWLoc);
14411 SourceLocation KWLoc,
14413 return isReadPipe ? SemaRef.BuildReadPipeType(ValueType, KWLoc)
14414 : SemaRef.BuildWritePipeType(ValueType, KWLoc);
14404 RebuildAtomicType(QualType ValueType, SourceLocation KWLoc) argument
14410 RebuildPipeType(QualType ValueType, SourceLocation KWLoc, bool isReadPipe) argument
/netbsd-current/external/apache2/llvm/dist/clang/include/clang/Sema/
H A DSema.h2997 SourceLocation KWLoc, CXXScopeSpec &SS, IdentifierInfo *Name,
6059 ExprResult ActOnBuiltinBitCastExpr(SourceLocation KWLoc, Declarator &Dcl,
6063 ExprResult BuildBuiltinBitCastExpr(SourceLocation KWLoc, TypeSourceInfo *TSI,
6287 ExprResult ActOnTypeTrait(TypeTrait Kind, SourceLocation KWLoc,
6290 ExprResult BuildTypeTrait(TypeTrait Kind, SourceLocation KWLoc,
6297 SourceLocation KWLoc,
6303 SourceLocation KWLoc,
6311 SourceLocation KWLoc,
6316 SourceLocation KWLoc,
7533 Scope *S, unsigned TagSpec, TagUseKind TUK, SourceLocation KWLoc,
[all...]
H A DDeclSpec.h705 bool SetExtIntType(SourceLocation KWLoc, Expr *BitWidth,
/netbsd-current/external/apache2/llvm/dist/clang/lib/Lex/
H A DModuleMap.cpp2574 auto KWLoc = consumeToken(); local
2580 Diags.Report(KWLoc, diag::err_mmap_use_decl_submodule);
/netbsd-current/external/apache2/llvm/dist/clang/lib/Serialization/
H A DASTReaderStmt.cpp1788 E->KWLoc = readSourceLocation();

Completed in 816 milliseconds