Searched defs:DK (Results 1 - 14 of 14) sorted by relevance

/external/clang/include/clang/AST/
H A DDeclOpenMP.h41 OMPThreadPrivateDecl(Kind DK, DeclContext *DC, SourceLocation L) : argument
42 Decl(DK, DC, L), NumVars(0) { }
H A DDecl.h116 NamedDecl(Kind DK, DeclContext *DC, SourceLocation L, DeclarationName N) argument
117 : Decl(DK, DC, L), Name(N) { }
467 ValueDecl(Kind DK, DeclContext *DC, SourceLocation L, argument
469 : NamedDecl(DK, DC, L, N), DeclType(T) {}
536 DeclaratorDecl(Kind DK, DeclContext *DC, SourceLocation L, argument
539 : ValueDecl(DK, DC, L, N, T), DeclInfo(TInfo), InnerLocStart(StartL) {
752 VarDecl(Kind DK, DeclContext *DC, SourceLocation StartLoc,
1202 ParmVarDecl(Kind DK, DeclContext *DC, SourceLocation StartLoc,
1206 : VarDecl(DK, DC, StartLoc, IdLoc, Id, T, TInfo, S) {
1505 FunctionDecl(Kind DK, DeclContex
[all...]
H A DDeclBase.h305 Decl(Kind DK, DeclContext *DC, SourceLocation L) argument
307 Loc(L), DeclKind(DK), InvalidDecl(0),
310 IdentifierNamespace(getIdentifierNamespaceForKind(DK)),
313 if (StatisticsEnabled) add(DK);
316 Decl(Kind DK, EmptyShell Empty) argument
317 : NextInContextAndBits(), DeclKind(DK), InvalidDecl(0),
320 IdentifierNamespace(getIdentifierNamespaceForKind(DK)),
323 if (StatisticsEnabled) add(DK);
636 static unsigned getIdentifierNamespaceForKind(Kind DK);
H A DDeclTemplate.h233 TemplateDecl(Kind DK, DeclContext *DC, SourceLocation L,
235 : NamedDecl(DK, DC, L, Name), TemplatedDecl(0), TemplateParams(0) { }
239 TemplateDecl(Kind DK, DeclContext *DC, SourceLocation L,
241 : NamedDecl(DK, DC, L, Name), TemplatedDecl(0), TemplateParams(Params) { }
244 TemplateDecl(Kind DK, DeclContext *DC, SourceLocation L,
247 : NamedDecl(DK, DC, L, Name), TemplatedDecl(Decl),
625 RedeclarableTemplateDecl(Kind DK, DeclContext *DC, SourceLocation L, argument
628 : TemplateDecl(DK, DC, L, Name, Params, Decl), Common() { }
1425 ClassTemplateSpecializationDecl(ASTContext &Context, Kind DK, TagKind TK,
1433 explicit ClassTemplateSpecializationDecl(Kind DK);
[all...]
H A DDeclCXX.h1615 CXXMethodDecl(Kind DK, CXXRecordDecl *RD, SourceLocation StartLoc, argument
1620 : FunctionDecl(DK, RD, StartLoc, NameInfo, T, TInfo,
H A DDeclObjC.h496 ObjCContainerDecl(Kind DK, DeclContext *DC, argument
499 : NamedDecl(DK, DC, nameLoc, Id), DeclContext(DK), AtStart(atStartLoc) {}
1668 ObjCImplDecl(Kind DK, DeclContext *DC, argument
1671 : ObjCContainerDecl(DK, DC,
/external/clang/lib/Frontend/
H A DASTConsumers.cpp377 Decl::Kind DK = I->getKind(); local
378 switch (DK) {
475 Out << "DeclKind: " << DK << '"' << *I << "\"\n";
/external/clang/lib/AST/
H A DDeclBase.cpp602 Decl::Kind DK = D->getDeclKind(); local
603 switch(DK) {
613 if (DK >= first##NAME && DK <= last##NAME) \
621 Decl::Kind DK = D->getKind(); local
622 switch(DK) {
632 if (DK >= first##NAME && DK <= last##NAME) \
H A DDeclTemplate.cpp707 ClassTemplateSpecializationDecl(ASTContext &Context, Kind DK, TagKind TK, argument
714 : CXXRecordDecl(DK, TK, DC, StartLoc, IdLoc,
723 ClassTemplateSpecializationDecl::ClassTemplateSpecializationDecl(Kind DK) argument
724 : CXXRecordDecl(DK, TTK_Struct, 0, SourceLocation(), SourceLocation(), 0, 0),
1094 ASTContext &Context, Kind DK, DeclContext *DC, SourceLocation StartLoc,
1098 : VarDecl(DK, DC, StartLoc, IdLoc, SpecializedTemplate->getIdentifier(), T,
1104 VarTemplateSpecializationDecl::VarTemplateSpecializationDecl(Kind DK) argument
1105 : VarDecl(DK, 0, SourceLocation(), SourceLocation(), 0, QualType(), 0,
1093 VarTemplateSpecializationDecl( ASTContext &Context, Kind DK, DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, VarTemplateDecl *SpecializedTemplate, QualType T, TypeSourceInfo *TInfo, StorageClass S, const TemplateArgument *Args, unsigned NumArgs) argument
H A DDecl.cpp1560 VarDecl::VarDecl(Kind DK, DeclContext *DC, SourceLocation StartLoc, argument
1563 : DeclaratorDecl(DK, DC, IdLoc, Id, T, TInfo, StartLoc), Init() {
3210 RecordDecl::RecordDecl(Kind DK, TagKind TK, DeclContext *DC, argument
3213 : TagDecl(DK, TK, DC, IdLoc, Id, PrevDecl, StartLoc) {
/external/clang/lib/Parse/
H A DParser.cpp130 /// \param DK The kind of diagnostic to emit.
132 void Parser::SuggestParentheses(SourceLocation Loc, unsigned DK, argument
138 Diag(Loc, DK);
142 Diag(Loc, DK)
/external/clang/lib/Sema/
H A DSemaInit.cpp710 unsigned DK = diag::warn_excess_initializers_in_char_array_initializer; local
712 DK = diag::err_excess_initializers_in_char_array_initializer;
716 SemaRef.Diag(IList->getInit(Index)->getLocStart(), DK)
729 unsigned DK = diag::warn_excess_initializers; local
731 DK = diag::err_excess_initializers;
735 DK = diag::err_excess_initializers;
739 SemaRef.Diag(IList->getInit(Index)->getLocStart(), DK)
H A DSemaDecl.cpp3568 unsigned DK = diag::err_anonymous_record_bad_member; local
3570 DK = diag::err_anonymous_record_with_type;
3572 DK = diag::err_anonymous_record_with_function;
3574 DK = diag::err_anonymous_record_with_static;
3578 DK == diag::err_anonymous_record_with_type)
3582 Diag((*Mem)->getLocation(), DK)
H A DSemaDeclCXX.cpp10747 unsigned DK = diag::err_catch_incomplete; local
10751 DK = diag::err_catch_incomplete_ptr;
10756 DK = diag::err_catch_incomplete_ref;
10759 !BaseType->isDependentType() && RequireCompleteType(Loc, BaseType, DK))

Completed in 289 milliseconds