/external/clang/lib/Parse/ |
D | ParseCXXInlineMethods.cpp | 76 SourceLocation KWLoc; in ParseCXXInlineMethodDef() local 82 KWLoc = ConsumeToken(); in ParseCXXInlineMethodDef() 83 Actions.SetDeclDeleted(FnD, KWLoc); in ParseCXXInlineMethodDef() 90 KWLoc = ConsumeToken(); in ParseCXXInlineMethodDef() 91 Actions.SetDeclDefaulted(FnD, KWLoc); in ParseCXXInlineMethodDef() 97 Diag(KWLoc, diag::err_default_delete_in_multiple_declaration) in ParseCXXInlineMethodDef()
|
D | Parser.cpp | 1050 SourceLocation KWLoc; in ParseFunctionDefinition() local 1056 KWLoc = ConsumeToken(); in ParseFunctionDefinition() 1057 Actions.SetDeclDeleted(Res, KWLoc); in ParseFunctionDefinition() 1064 KWLoc = ConsumeToken(); in ParseFunctionDefinition() 1065 Actions.SetDeclDefaulted(Res, KWLoc); in ParseFunctionDefinition() 1071 Diag(KWLoc, diag::err_default_delete_in_multiple_declaration) in ParseFunctionDefinition()
|
D | ParseDecl.cpp | 2054 SourceLocation KWLoc = Tok.getLocation(); in ParseAlignmentSpecifier() local 2083 Attrs.addNew(PP.getIdentifierInfo("aligned"), KWLoc, 0, KWLoc, in ParseAlignmentSpecifier()
|
/external/clang/lib/Sema/ |
D | SemaExprCXX.cpp | 2855 SourceLocation KWLoc, in ActOnUnaryTypeTrait() argument 2863 return BuildUnaryTypeTrait(UTT, KWLoc, TSInfo, RParen); in ActOnUnaryTypeTrait() 3291 SourceLocation KWLoc, in BuildUnaryTypeTrait() argument 3295 if (!CheckUnaryTypeTraitTypeCompleteness(*this, UTT, KWLoc, T)) in BuildUnaryTypeTrait() 3300 Value = EvaluateUnaryTypeTrait(*this, UTT, KWLoc, T); in BuildUnaryTypeTrait() 3302 return Owned(new (Context) UnaryTypeTraitExpr(KWLoc, UTT, TSInfo, Value, in BuildUnaryTypeTrait() 3307 SourceLocation KWLoc, in ActOnBinaryTypeTrait() argument 3321 return BuildBinaryTypeTrait(BTT, KWLoc, LhsTSInfo, RhsTSInfo, RParen); in ActOnBinaryTypeTrait() 3343 static bool evaluateTypeTrait(Sema &S, TypeTrait Kind, SourceLocation KWLoc, in evaluateTypeTrait() argument 3362 S.Diag(KWLoc, diag::err_type_trait_arity) in evaluateTypeTrait() [all …]
|
D | SemaTemplate.cpp | 845 SourceLocation KWLoc, CXXScopeSpec &SS, in CheckClassTemplate() argument 866 Diag(KWLoc, diag::err_template_unnamed_class); in CheckClassTemplate() 995 TUK == TUK_Definition, KWLoc, *Name)) { in CheckClassTemplate() 996 Diag(KWLoc, diag::err_use_with_wrong_tag) in CheckClassTemplate() 998 << FixItHint::CreateReplacement(KWLoc, PrevRecordDecl->getKindName()); in CheckClassTemplate() 1055 CXXRecordDecl::Create(Context, Kind, SemanticContext, KWLoc, NameLoc, Name, in CheckClassTemplate() 5195 SourceLocation KWLoc, in ActOnClassTemplateSpecialization() argument 5248 Diag(KWLoc, diag::err_partial_specialization_friend) in ActOnClassTemplateSpecialization() 5284 Diag(KWLoc, diag::err_template_spec_friend) in ActOnClassTemplateSpecialization() 5292 Diag(KWLoc, diag::err_template_spec_needs_header) in ActOnClassTemplateSpecialization() [all …]
|
D | SemaDecl.cpp | 8340 SourceLocation KWLoc, CXXScopeSpec &SS, in ActOnTag() argument 8369 = MatchTemplateParametersToScopeSpecifier(KWLoc, NameLoc, SS, in ActOnTag() 8383 DeclResult Result = CheckClassTemplate(S, TagSpec, TUK, KWLoc, in ActOnTag() 8657 TUK == TUK_Definition, KWLoc, in ActOnTag() 8663 Diag(KWLoc, diag::err_use_with_wrong_tag) in ActOnTag() 8665 << FixItHint::CreateReplacement(SourceRange(KWLoc), in ActOnTag() 8668 Diag(KWLoc, diag::err_use_with_wrong_tag) << Name; in ActOnTag() 8703 if (CheckEnumRedeclaration(NameLoc.isValid() ? NameLoc : KWLoc, in ActOnTag() 8853 SourceLocation Loc = NameLoc.isValid() ? NameLoc : KWLoc; in ActOnTag() 8864 New = EnumDecl::Create(Context, SearchDC, KWLoc, Loc, Name, in ActOnTag() [all …]
|
D | TreeTransform.h | 949 QualType RebuildAtomicType(QualType ValueType, SourceLocation KWLoc); 9071 SourceLocation KWLoc) { in RebuildAtomicType() argument 9072 return SemaRef.BuildAtomicType(ValueType, KWLoc); in RebuildAtomicType()
|
/external/clang/include/clang/AST/ |
D | TypeLoc.h | 1449 SourceLocation KWLoc, LParenLoc, RParenLoc; member 1458 SourceLocation getKWLoc() const { return getLocalData()->KWLoc; } in getKWLoc() 1459 void setKWLoc(SourceLocation Loc) { getLocalData()->KWLoc = Loc; } in setKWLoc() 1760 SourceLocation KWLoc, LParenLoc, RParenLoc; member 1775 return this->getLocalData()->KWLoc; in getKWLoc() 1778 this->getLocalData()->KWLoc = Loc; in setKWLoc()
|
/external/clang/include/clang/Sema/ |
D | Sema.h | 1409 SourceLocation KWLoc, CXXScopeSpec &SS, 3750 SourceLocation KWLoc, 3755 SourceLocation KWLoc, 3762 SourceLocation KWLoc, 3768 SourceLocation KWLoc, 3774 ExprResult ActOnTypeTrait(TypeTrait Kind, SourceLocation KWLoc, 3777 ExprResult BuildTypeTrait(TypeTrait Kind, SourceLocation KWLoc, 3784 SourceLocation KWLoc, 3790 SourceLocation KWLoc, 3798 SourceLocation KWLoc, [all …]
|