/external/clang/lib/Parse/ |
D | ParseCXXInlineMethods.cpp | 82 SourceLocation KWLoc; in ParseCXXInlineMethodDef() local 88 KWLoc = ConsumeToken(); in ParseCXXInlineMethodDef() 89 Actions.SetDeclDeleted(FnD, KWLoc); in ParseCXXInlineMethodDef() 96 KWLoc = ConsumeToken(); in ParseCXXInlineMethodDef() 97 Actions.SetDeclDefaulted(FnD, KWLoc); in ParseCXXInlineMethodDef() 103 Diag(KWLoc, diag::err_default_delete_in_multiple_declaration) in ParseCXXInlineMethodDef()
|
D | Parser.cpp | 1075 SourceLocation KWLoc; in ParseFunctionDefinition() local 1081 KWLoc = ConsumeToken(); in ParseFunctionDefinition() 1082 Actions.SetDeclDeleted(Res, KWLoc); in ParseFunctionDefinition() 1089 KWLoc = ConsumeToken(); in ParseFunctionDefinition() 1090 Actions.SetDeclDefaulted(Res, KWLoc); in ParseFunctionDefinition() 1096 Diag(KWLoc, diag::err_default_delete_in_multiple_declaration) in ParseFunctionDefinition()
|
D | ParseDecl.cpp | 2298 SourceLocation KWLoc = ConsumeToken(); in ParseAlignmentSpecifier() local 2317 Attrs.addNew(KWName, KWLoc, 0, KWLoc, 0, T.getOpenLocation(), in ParseAlignmentSpecifier()
|
/external/clang/lib/Sema/ |
D | SemaExprCXX.cpp | 2948 SourceLocation KWLoc, in ActOnUnaryTypeTrait() argument 2956 return BuildUnaryTypeTrait(UTT, KWLoc, TSInfo, RParen); in ActOnUnaryTypeTrait() 3439 SourceLocation KWLoc, in BuildUnaryTypeTrait() argument 3443 if (!CheckUnaryTypeTraitTypeCompleteness(*this, UTT, KWLoc, T)) in BuildUnaryTypeTrait() 3448 Value = EvaluateUnaryTypeTrait(*this, UTT, KWLoc, T); in BuildUnaryTypeTrait() 3450 return Owned(new (Context) UnaryTypeTraitExpr(KWLoc, UTT, TSInfo, Value, in BuildUnaryTypeTrait() 3455 SourceLocation KWLoc, in ActOnBinaryTypeTrait() argument 3469 return BuildBinaryTypeTrait(BTT, KWLoc, LhsTSInfo, RhsTSInfo, RParen); in ActOnBinaryTypeTrait() 3491 static bool evaluateTypeTrait(Sema &S, TypeTrait Kind, SourceLocation KWLoc, in evaluateTypeTrait() argument 3510 S.Diag(KWLoc, diag::err_type_trait_arity) in evaluateTypeTrait() [all …]
|
D | SemaTemplate.cpp | 849 SourceLocation KWLoc, CXXScopeSpec &SS, in CheckClassTemplate() argument 870 Diag(KWLoc, diag::err_template_unnamed_class); in CheckClassTemplate() 999 TUK == TUK_Definition, KWLoc, *Name)) { in CheckClassTemplate() 1000 Diag(KWLoc, diag::err_use_with_wrong_tag) in CheckClassTemplate() 1002 << FixItHint::CreateReplacement(KWLoc, PrevRecordDecl->getKindName()); in CheckClassTemplate() 1060 CXXRecordDecl::Create(Context, Kind, SemanticContext, KWLoc, NameLoc, Name, in CheckClassTemplate() 5661 SourceLocation KWLoc, in ActOnClassTemplateSpecialization() argument 5709 Diag(KWLoc, diag::err_partial_specialization_friend) in ActOnClassTemplateSpecialization() 5745 Diag(KWLoc, diag::err_template_spec_friend) in ActOnClassTemplateSpecialization() 5753 Diag(KWLoc, diag::err_template_spec_needs_header) in ActOnClassTemplateSpecialization() [all …]
|
D | SemaDecl.cpp | 10033 SourceLocation KWLoc, CXXScopeSpec &SS, in ActOnTag() argument 10063 KWLoc, NameLoc, SS, TemplateParameterLists, TUK == TUK_Friend, in ActOnTag() 10066 Diag(KWLoc, diag::err_enum_template); in ActOnTag() 10078 DeclResult Result = CheckClassTemplate(S, TagSpec, TUK, KWLoc, in ActOnTag() 10378 TUK == TUK_Definition, KWLoc, in ActOnTag() 10384 Diag(KWLoc, diag::err_use_with_wrong_tag) in ActOnTag() 10386 << FixItHint::CreateReplacement(SourceRange(KWLoc), in ActOnTag() 10389 Diag(KWLoc, diag::err_use_with_wrong_tag) << Name; in ActOnTag() 10424 if (CheckEnumRedeclaration(NameLoc.isValid() ? NameLoc : KWLoc, in ActOnTag() 10584 SourceLocation Loc = NameLoc.isValid() ? NameLoc : KWLoc; in ActOnTag() [all …]
|
D | TreeTransform.h | 976 QualType RebuildAtomicType(QualType ValueType, SourceLocation KWLoc); 9438 SourceLocation KWLoc) { in RebuildAtomicType() argument 9439 return SemaRef.BuildAtomicType(ValueType, KWLoc); in RebuildAtomicType()
|
/external/clang/include/clang/AST/ |
D | TypeLoc.h | 1577 SourceLocation KWLoc, LParenLoc, RParenLoc; member 1586 SourceLocation getKWLoc() const { return getLocalData()->KWLoc; } in getKWLoc() 1587 void setKWLoc(SourceLocation Loc) { getLocalData()->KWLoc = Loc; } in setKWLoc() 1892 SourceLocation KWLoc, LParenLoc, RParenLoc; member 1907 return this->getLocalData()->KWLoc; in getKWLoc() 1910 this->getLocalData()->KWLoc = Loc; in setKWLoc()
|
D | Stmt.h | 630 SwitchCase(StmtClass SC, SourceLocation KWLoc, SourceLocation ColonLoc) in SwitchCase() argument 631 : Stmt(SC), NextSwitchCase(0), KeywordLoc(KWLoc), ColonLoc(ColonLoc) {} in SwitchCase()
|
/external/clang/include/clang/Sema/ |
D | Sema.h | 1640 SourceLocation KWLoc, CXXScopeSpec &SS, 4111 SourceLocation KWLoc, 4116 SourceLocation KWLoc, 4123 SourceLocation KWLoc, 4129 SourceLocation KWLoc, 4135 ExprResult ActOnTypeTrait(TypeTrait Kind, SourceLocation KWLoc, 4138 ExprResult BuildTypeTrait(TypeTrait Kind, SourceLocation KWLoc, 4145 SourceLocation KWLoc, 4151 SourceLocation KWLoc, 4159 SourceLocation KWLoc, [all …]
|