Home
last modified time | relevance | path

Searched refs:KWLoc (Results 1 – 7 of 7) sorted by relevance

/external/clang/lib/Parse/
DParseCXXInlineMethods.cpp57 SourceLocation KWLoc; in ParseCXXInlineMethodDef() local
62 KWLoc = ConsumeToken(); in ParseCXXInlineMethodDef()
63 Actions.SetDeclDeleted(FnD, KWLoc); in ParseCXXInlineMethodDef()
69 KWLoc = ConsumeToken(); in ParseCXXInlineMethodDef()
70 Actions.SetDeclDefaulted(FnD, KWLoc); in ParseCXXInlineMethodDef()
76 Diag(KWLoc, diag::err_default_delete_in_multiple_declaration) in ParseCXXInlineMethodDef()
DParser.cpp933 SourceLocation KWLoc; in ParseFunctionDefinition() local
938 KWLoc = ConsumeToken(); in ParseFunctionDefinition()
939 Actions.SetDeclDeleted(Res, KWLoc); in ParseFunctionDefinition()
945 KWLoc = ConsumeToken(); in ParseFunctionDefinition()
946 Actions.SetDeclDefaulted(Res, KWLoc); in ParseFunctionDefinition()
952 Diag(KWLoc, diag::err_default_delete_in_multiple_declaration) in ParseFunctionDefinition()
/external/clang/lib/Sema/
DSemaExprCXX.cpp2530 SourceLocation KWLoc, in ActOnUnaryTypeTrait() argument
2538 return BuildUnaryTypeTrait(UTT, KWLoc, TSInfo, RParen); in ActOnUnaryTypeTrait()
2952 SourceLocation KWLoc, in BuildUnaryTypeTrait() argument
2956 if (!CheckUnaryTypeTraitTypeCompleteness(*this, UTT, KWLoc, T)) in BuildUnaryTypeTrait()
2961 Value = EvaluateUnaryTypeTrait(*this, UTT, KWLoc, T); in BuildUnaryTypeTrait()
2963 return Owned(new (Context) UnaryTypeTraitExpr(KWLoc, UTT, TSInfo, Value, in BuildUnaryTypeTrait()
2968 SourceLocation KWLoc, in ActOnBinaryTypeTrait() argument
2982 return BuildBinaryTypeTrait(BTT, KWLoc, LhsTSInfo, RhsTSInfo, RParen); in ActOnBinaryTypeTrait()
3078 SourceLocation KWLoc, in BuildBinaryTypeTrait() argument
3087 Diag(KWLoc, diag::err_types_compatible_p_in_cplusplus) in BuildBinaryTypeTrait()
[all …]
DSemaTemplate.cpp808 SourceLocation KWLoc, CXXScopeSpec &SS, in CheckClassTemplate() argument
829 Diag(KWLoc, diag::err_template_unnamed_class); in CheckClassTemplate()
929 TUK == TUK_Definition, KWLoc, *Name)) { in CheckClassTemplate()
930 Diag(KWLoc, diag::err_use_with_wrong_tag) in CheckClassTemplate()
932 << FixItHint::CreateReplacement(KWLoc, PrevRecordDecl->getKindName()); in CheckClassTemplate()
985 CXXRecordDecl::Create(Context, Kind, SemanticContext, KWLoc, NameLoc, Name, in CheckClassTemplate()
4693 SourceLocation KWLoc, in ActOnClassTemplateSpecialization() argument
4745 Diag(KWLoc, diag::err_partial_specialization_friend) in ActOnClassTemplateSpecialization()
4781 Diag(KWLoc, diag::err_template_spec_friend) in ActOnClassTemplateSpecialization()
4789 Diag(KWLoc, diag::err_template_spec_needs_header) in ActOnClassTemplateSpecialization()
[all …]
DSemaDecl.cpp6853 SourceLocation KWLoc, CXXScopeSpec &SS, in ActOnTag() argument
6878 = MatchTemplateParametersToScopeSpecifier(KWLoc, NameLoc, SS, in ActOnTag()
6892 DeclResult Result = CheckClassTemplate(S, TagSpec, TUK, KWLoc, in ActOnTag()
7169 TUK == TUK_Definition, KWLoc, in ActOnTag()
7175 Diag(KWLoc, diag::err_use_with_wrong_tag) in ActOnTag()
7177 << FixItHint::CreateReplacement(SourceRange(KWLoc), in ActOnTag()
7180 Diag(KWLoc, diag::err_use_with_wrong_tag) << Name; in ActOnTag()
7199 Diag(KWLoc, diag::err_enum_redeclare_scoped_mismatch) in ActOnTag()
7212 Diag(NameLoc.isValid() ? NameLoc : KWLoc, in ActOnTag()
7221 Diag(KWLoc, diag::err_enum_redeclare_fixed_mismatch) in ActOnTag()
[all …]
/external/clang/include/clang/Sema/
DSema.h1097 SourceLocation KWLoc, CXXScopeSpec &SS,
2971 SourceLocation KWLoc,
2976 SourceLocation KWLoc,
2983 SourceLocation KWLoc,
2989 SourceLocation KWLoc,
2997 SourceLocation KWLoc,
3003 SourceLocation KWLoc,
3011 SourceLocation KWLoc,
3016 SourceLocation KWLoc,
3671 SourceLocation KWLoc, CXXScopeSpec &SS,
[all …]
/external/clang/include/clang/AST/
DTypeLoc.h1416 SourceLocation KWLoc, LParenLoc, RParenLoc; member
1425 SourceLocation getKWLoc() const { return getLocalData()->KWLoc; } in getKWLoc()
1426 void setKWLoc(SourceLocation Loc) { getLocalData()->KWLoc = Loc; } in setKWLoc()