Lines Matching refs:getDeclKind
156 switch (getDeclKind()) { in getDeclKindName()
869 Decl::Kind DK = D->getDeclKind(); in castFromDeclContext()
955 static Decl::Kind getKind(const DeclContext *DC) { return DC->getDeclKind(); } in getKind()
1111 if (getDeclKind() == Decl::Enum) in isTransparentContext()
1113 else if (getDeclKind() == Decl::LinkageSpec || getDeclKind() == Decl::Export) in isTransparentContext()
1121 while (DC->getDeclKind() != Decl::TranslationUnit) { in isLinkageSpecContext()
1122 if (DC->getDeclKind() == Decl::LinkageSpec) in isLinkageSpecContext()
1135 while (DC->getDeclKind() != Decl::TranslationUnit) { in getExternCContext()
1136 if (DC->getDeclKind() == Decl::LinkageSpec && in getExternCContext()
1159 switch (getDeclKind()) { in getPrimaryContext()
1195 if (getDeclKind() >= Decl::firstTag && getDeclKind() <= Decl::lastTag) { in getPrimaryContext()
1215 assert(getDeclKind() >= Decl::firstFunction && in getPrimaryContext()
1216 getDeclKind() <= Decl::lastFunction && in getPrimaryContext()
1226 if (getDeclKind() != Decl::Namespace) { in collectAllContexts()
1596 assert(getDeclKind() != Decl::LinkageSpec && in lookup()
1597 getDeclKind() != Decl::Export && in lookup()
1661 assert(getDeclKind() != Decl::LinkageSpec && in noload_lookup()
1662 getDeclKind() != Decl::Export && in noload_lookup()
1738 bool SkipRecords = getDeclKind() == Decl::Kind::Enum && in getRedeclContext()