/external/clang/lib/Parse/ |
D | ParseCXXInlineMethods.cpp | 83 SourceLocation KWLoc; in ParseCXXInlineMethodDef() local 89 KWLoc = ConsumeToken(); in ParseCXXInlineMethodDef() 90 Actions.SetDeclDeleted(FnD, KWLoc); in ParseCXXInlineMethodDef() 97 KWLoc = ConsumeToken(); in ParseCXXInlineMethodDef() 98 Actions.SetDeclDefaulted(FnD, KWLoc); in ParseCXXInlineMethodDef() 104 Diag(KWLoc, diag::err_default_delete_in_multiple_declaration) in ParseCXXInlineMethodDef()
|
D | Parser.cpp | 1040 SourceLocation KWLoc; in ParseFunctionDefinition() local 1046 KWLoc = ConsumeToken(); in ParseFunctionDefinition() 1047 Actions.SetDeclDeleted(Res, KWLoc); in ParseFunctionDefinition() 1054 KWLoc = ConsumeToken(); in ParseFunctionDefinition() 1055 Actions.SetDeclDefaulted(Res, KWLoc); in ParseFunctionDefinition() 1061 Diag(KWLoc, diag::err_default_delete_in_multiple_declaration) in ParseFunctionDefinition()
|
D | ParseDecl.cpp | 2136 SourceLocation KWLoc = ConsumeToken(); in ParseAlignmentSpecifier() local 2155 Attrs.addNew(KWName, KWLoc, 0, KWLoc, 0, T.getOpenLocation(), in ParseAlignmentSpecifier()
|
/external/clang/lib/Sema/ |
D | SemaExprCXX.cpp | 2839 SourceLocation KWLoc, in ActOnUnaryTypeTrait() argument 2847 return BuildUnaryTypeTrait(UTT, KWLoc, TSInfo, RParen); in ActOnUnaryTypeTrait() 3285 SourceLocation KWLoc, in BuildUnaryTypeTrait() argument 3289 if (!CheckUnaryTypeTraitTypeCompleteness(*this, UTT, KWLoc, T)) in BuildUnaryTypeTrait() 3294 Value = EvaluateUnaryTypeTrait(*this, UTT, KWLoc, T); in BuildUnaryTypeTrait() 3296 return Owned(new (Context) UnaryTypeTraitExpr(KWLoc, UTT, TSInfo, Value, in BuildUnaryTypeTrait() 3301 SourceLocation KWLoc, in ActOnBinaryTypeTrait() argument 3315 return BuildBinaryTypeTrait(BTT, KWLoc, LhsTSInfo, RhsTSInfo, RParen); in ActOnBinaryTypeTrait() 3337 static bool evaluateTypeTrait(Sema &S, TypeTrait Kind, SourceLocation KWLoc, in evaluateTypeTrait() argument 3356 S.Diag(KWLoc, diag::err_type_trait_arity) in evaluateTypeTrait() [all …]
|
D | SemaTemplate.cpp | 846 SourceLocation KWLoc, CXXScopeSpec &SS, in CheckClassTemplate() argument 867 Diag(KWLoc, diag::err_template_unnamed_class); in CheckClassTemplate() 996 TUK == TUK_Definition, KWLoc, *Name)) { in CheckClassTemplate() 997 Diag(KWLoc, diag::err_use_with_wrong_tag) in CheckClassTemplate() 999 << FixItHint::CreateReplacement(KWLoc, PrevRecordDecl->getKindName()); in CheckClassTemplate() 1056 CXXRecordDecl::Create(Context, Kind, SemanticContext, KWLoc, NameLoc, Name, in CheckClassTemplate() 5205 SourceLocation KWLoc, in ActOnClassTemplateSpecialization() argument 5258 Diag(KWLoc, diag::err_partial_specialization_friend) in ActOnClassTemplateSpecialization() 5294 Diag(KWLoc, diag::err_template_spec_friend) in ActOnClassTemplateSpecialization() 5302 Diag(KWLoc, diag::err_template_spec_needs_header) in ActOnClassTemplateSpecialization() [all …]
|
D | SemaDecl.cpp | 9307 SourceLocation KWLoc, CXXScopeSpec &SS, in ActOnTag() argument 9336 = MatchTemplateParametersToScopeSpecifier(KWLoc, NameLoc, SS, in ActOnTag() 9350 DeclResult Result = CheckClassTemplate(S, TagSpec, TUK, KWLoc, in ActOnTag() 9624 TUK == TUK_Definition, KWLoc, in ActOnTag() 9630 Diag(KWLoc, diag::err_use_with_wrong_tag) in ActOnTag() 9632 << FixItHint::CreateReplacement(SourceRange(KWLoc), in ActOnTag() 9635 Diag(KWLoc, diag::err_use_with_wrong_tag) << Name; in ActOnTag() 9670 if (CheckEnumRedeclaration(NameLoc.isValid() ? NameLoc : KWLoc, in ActOnTag() 9820 SourceLocation Loc = NameLoc.isValid() ? NameLoc : KWLoc; in ActOnTag() 9831 New = EnumDecl::Create(Context, SearchDC, KWLoc, Loc, Name, in ActOnTag() [all …]
|
D | TreeTransform.h | 958 QualType RebuildAtomicType(QualType ValueType, SourceLocation KWLoc); 9140 SourceLocation KWLoc) { in RebuildAtomicType() argument 9141 return SemaRef.BuildAtomicType(ValueType, KWLoc); in RebuildAtomicType()
|
/external/clang/include/clang/AST/ |
D | TypeLoc.h | 1494 SourceLocation KWLoc, LParenLoc, RParenLoc; member 1503 SourceLocation getKWLoc() const { return getLocalData()->KWLoc; } in getKWLoc() 1504 void setKWLoc(SourceLocation Loc) { getLocalData()->KWLoc = Loc; } in setKWLoc() 1805 SourceLocation KWLoc, LParenLoc, RParenLoc; member 1820 return this->getLocalData()->KWLoc; in getKWLoc() 1823 this->getLocalData()->KWLoc = Loc; in setKWLoc()
|
D | Stmt.h | 637 SwitchCase(StmtClass SC, SourceLocation KWLoc, SourceLocation ColonLoc) in SwitchCase() argument 638 : Stmt(SC), NextSwitchCase(0), KeywordLoc(KWLoc), ColonLoc(ColonLoc) {} in SwitchCase()
|
/external/clang/include/clang/Sema/ |
D | Sema.h | 1542 SourceLocation KWLoc, CXXScopeSpec &SS, 3950 SourceLocation KWLoc, 3955 SourceLocation KWLoc, 3962 SourceLocation KWLoc, 3968 SourceLocation KWLoc, 3974 ExprResult ActOnTypeTrait(TypeTrait Kind, SourceLocation KWLoc, 3977 ExprResult BuildTypeTrait(TypeTrait Kind, SourceLocation KWLoc, 3984 SourceLocation KWLoc, 3990 SourceLocation KWLoc, 3998 SourceLocation KWLoc, [all …]
|