/external/clang/lib/Parse/ |
D | ParseCXXInlineMethods.cpp | 67 SourceLocation KWLoc; in ParseCXXInlineMethodDef() local 69 if (TryConsumeToken(tok::kw_delete, KWLoc)) { in ParseCXXInlineMethodDef() 70 Diag(KWLoc, getLangOpts().CPlusPlus11 in ParseCXXInlineMethodDef() 74 Actions.SetDeclDeleted(FnD, KWLoc); in ParseCXXInlineMethodDef() 79 } else if (TryConsumeToken(tok::kw_default, KWLoc)) { in ParseCXXInlineMethodDef() 80 Diag(KWLoc, getLangOpts().CPlusPlus11 in ParseCXXInlineMethodDef() 84 Actions.SetDeclDefaulted(FnD, KWLoc); in ParseCXXInlineMethodDef() 93 Diag(KWLoc, diag::err_default_delete_in_multiple_declaration) in ParseCXXInlineMethodDef()
|
D | Parser.cpp | 1113 SourceLocation KWLoc; in ParseFunctionDefinition() local 1114 if (TryConsumeToken(tok::kw_delete, KWLoc)) { in ParseFunctionDefinition() 1115 Diag(KWLoc, getLangOpts().CPlusPlus11 in ParseFunctionDefinition() 1119 Actions.SetDeclDeleted(Res, KWLoc); in ParseFunctionDefinition() 1121 } else if (TryConsumeToken(tok::kw_default, KWLoc)) { in ParseFunctionDefinition() 1122 Diag(KWLoc, getLangOpts().CPlusPlus11 in ParseFunctionDefinition() 1126 Actions.SetDeclDefaulted(Res, KWLoc); in ParseFunctionDefinition() 1132 Diag(KWLoc, diag::err_default_delete_in_multiple_declaration) in ParseFunctionDefinition()
|
D | ParseDecl.cpp | 2516 SourceLocation KWLoc = ConsumeToken(); in ParseAlignmentSpecifier() local 2535 Attrs.addNew(KWName, KWLoc, nullptr, KWLoc, ArgExprs.data(), 1, in ParseAlignmentSpecifier()
|
/external/clang/include/clang/AST/ |
D | TypeLoc.h | 1667 SourceLocation KWLoc, LParenLoc, RParenLoc; member 1676 SourceLocation getKWLoc() const { return getLocalData()->KWLoc; } in getKWLoc() 1677 void setKWLoc(SourceLocation Loc) { getLocalData()->KWLoc = Loc; } in setKWLoc() 1982 SourceLocation KWLoc, LParenLoc, RParenLoc; member 1997 return this->getLocalData()->KWLoc; in getKWLoc() 2000 this->getLocalData()->KWLoc = Loc; in setKWLoc() 2037 SourceLocation KWLoc; member 2047 SourceLocation getKWLoc() const { return this->getLocalData()->KWLoc; } in getKWLoc() 2048 void setKWLoc(SourceLocation Loc) { this->getLocalData()->KWLoc = Loc; } in setKWLoc()
|
D | Stmt.h | 656 SwitchCase(StmtClass SC, SourceLocation KWLoc, SourceLocation ColonLoc) in SwitchCase() argument 657 : Stmt(SC), NextSwitchCase(nullptr), KeywordLoc(KWLoc), ColonLoc(ColonLoc) { in SwitchCase()
|
/external/clang/lib/Sema/ |
D | SemaTemplate.cpp | 849 SourceLocation KWLoc, CXXScopeSpec &SS, in CheckClassTemplate() argument 872 Diag(KWLoc, diag::err_template_unnamed_class); in CheckClassTemplate() 1008 Diag(KWLoc, diag::err_using_decl_conflict_reverse); in CheckClassTemplate() 1035 TUK == TUK_Definition, KWLoc, Name)) { in CheckClassTemplate() 1036 Diag(KWLoc, diag::err_use_with_wrong_tag) in CheckClassTemplate() 1038 << FixItHint::CreateReplacement(KWLoc, PrevRecordDecl->getKindName()); in CheckClassTemplate() 1054 makeMergedDefinitionVisible(Hidden, KWLoc); in CheckClassTemplate() 1055 makeMergedDefinitionVisible(Tmpl, KWLoc); in CheckClassTemplate() 1105 CXXRecordDecl::Create(Context, Kind, SemanticContext, KWLoc, NameLoc, Name, in CheckClassTemplate() 6180 SourceLocation KWLoc, in ActOnClassTemplateSpecialization() argument [all …]
|
D | SemaExprCXX.cpp | 4327 static bool evaluateTypeTrait(Sema &S, TypeTrait Kind, SourceLocation KWLoc, in evaluateTypeTrait() argument 4331 return EvaluateUnaryTypeTrait(S, Kind, KWLoc, Args[0]->getType()); in evaluateTypeTrait() 4364 if (S.RequireCompleteType(KWLoc, ArgTy, in evaluateTypeTrait() 4400 InitializationKind InitKind(InitializationKind::CreateDirect(KWLoc, KWLoc, in evaluateTypeTrait() 4437 ExprResult Sema::BuildTypeTrait(TypeTrait Kind, SourceLocation KWLoc, in BuildTypeTrait() argument 4443 *this, Kind, KWLoc, Args[0]->getType())) in BuildTypeTrait() 4456 Result = evaluateTypeTrait(*this, Kind, KWLoc, Args, RParenLoc); in BuildTypeTrait() 4458 return TypeTraitExpr::Create(Context, ResultType, KWLoc, Kind, Args, in BuildTypeTrait() 4462 ExprResult Sema::ActOnTypeTrait(TypeTrait Kind, SourceLocation KWLoc, in ActOnTypeTrait() argument 4472 TInfo = Context.getTrivialTypeSourceInfo(T, KWLoc); in ActOnTypeTrait() [all …]
|
D | SemaDecl.cpp | 12258 SourceLocation KWLoc, CXXScopeSpec &SS, in ActOnTag() argument 12289 KWLoc, NameLoc, SS, nullptr, TemplateParameterLists, in ActOnTag() 12292 Diag(KWLoc, diag::err_enum_template); in ActOnTag() 12304 DeclResult Result = CheckClassTemplate(S, TagSpec, TUK, KWLoc, in ActOnTag() 12634 Diag(KWLoc, diag::err_using_decl_conflict_reverse); in ActOnTag() 12655 TUK == TUK_Definition, KWLoc, in ActOnTag() 12661 Diag(KWLoc, diag::err_use_with_wrong_tag) in ActOnTag() 12663 << FixItHint::CreateReplacement(SourceRange(KWLoc), in ActOnTag() 12666 Diag(KWLoc, diag::err_use_with_wrong_tag) << Name; in ActOnTag() 12701 if (CheckEnumRedeclaration(NameLoc.isValid() ? NameLoc : KWLoc, in ActOnTag() [all …]
|
D | TreeTransform.h | 1056 QualType RebuildAtomicType(QualType ValueType, SourceLocation KWLoc); 1059 QualType RebuildPipeType(QualType ValueType, SourceLocation KWLoc); 11683 SourceLocation KWLoc) { in RebuildAtomicType() argument 11684 return SemaRef.BuildAtomicType(ValueType, KWLoc); in RebuildAtomicType() 11689 SourceLocation KWLoc) { in RebuildPipeType() argument 11690 return SemaRef.BuildPipeType(ValueType, KWLoc); in RebuildPipeType()
|
/external/clang/include/clang/Sema/ |
D | Sema.h | 1951 SourceLocation KWLoc, CXXScopeSpec &SS, 4823 ExprResult ActOnTypeTrait(TypeTrait Kind, SourceLocation KWLoc, 4826 ExprResult BuildTypeTrait(TypeTrait Kind, SourceLocation KWLoc, 4833 SourceLocation KWLoc, 4839 SourceLocation KWLoc, 4847 SourceLocation KWLoc, 4852 SourceLocation KWLoc, 5738 SourceLocation KWLoc, CXXScopeSpec &SS, 5816 SourceLocation KWLoc, 5849 SourceLocation KWLoc, [all …]
|
/external/clang/lib/Lex/ |
D | ModuleMap.cpp | 2023 auto KWLoc = consumeToken(); in parseUseDecl() local 2029 Diags.Report(KWLoc, diag::err_mmap_use_decl_submodule); in parseUseDecl()
|