Lines Matching refs:getDeclKind
156 switch (getDeclKind()) { in getDeclKindName()
911 Decl::Kind DK = D->getDeclKind(); in castFromDeclContext()
998 static Decl::Kind getKind(const DeclContext *DC) { return DC->getDeclKind(); } in getKind()
1174 if (getDeclKind() == Decl::Enum) in isTransparentContext()
1176 else if (getDeclKind() == Decl::LinkageSpec || getDeclKind() == Decl::Export) in isTransparentContext()
1184 while (DC->getDeclKind() != Decl::TranslationUnit) { in isLinkageSpecContext()
1185 if (DC->getDeclKind() == Decl::LinkageSpec) in isLinkageSpecContext()
1198 while (DC->getDeclKind() != Decl::TranslationUnit) { in getExternCContext()
1199 if (DC->getDeclKind() == Decl::LinkageSpec && in getExternCContext()
1222 switch (getDeclKind()) { in getPrimaryContext()
1262 if (getDeclKind() >= Decl::firstTag && getDeclKind() <= Decl::lastTag) { in getPrimaryContext()
1282 assert(getDeclKind() >= Decl::firstFunction && in getPrimaryContext()
1283 getDeclKind() <= Decl::lastFunction && in getPrimaryContext()
1293 if (getDeclKind() != Decl::Namespace) { in collectAllContexts()
1670 assert(getDeclKind() != Decl::LinkageSpec && in lookup()
1671 getDeclKind() != Decl::Export && in lookup()
1735 assert(getDeclKind() != Decl::LinkageSpec && in noload_lookup()
1736 getDeclKind() != Decl::Export && in noload_lookup()
1812 bool SkipRecords = getDeclKind() == Decl::Kind::Enum && in getRedeclContext()