Lines Matching refs:getDeclKind
156 switch (getDeclKind()) {
910 Decl::Kind DK = D->getDeclKind();
995 static Decl::Kind getKind(const DeclContext *DC) { return DC->getDeclKind(); }
1171 if (getDeclKind() == Decl::Enum)
1174 return getDeclKind() == Decl::LinkageSpec || getDeclKind() == Decl::Export;
1179 while (DC->getDeclKind() != Decl::TranslationUnit) {
1180 if (DC->getDeclKind() == Decl::LinkageSpec)
1193 while (DC->getDeclKind() != Decl::TranslationUnit) {
1194 if (DC->getDeclKind() == Decl::LinkageSpec &&
1217 switch (getDeclKind()) {
1257 if (getDeclKind() >= Decl::firstTag && getDeclKind() <= Decl::lastTag) {
1277 assert(getDeclKind() >= Decl::firstFunction &&
1278 getDeclKind() <= Decl::lastFunction &&
1288 if (getDeclKind() != Decl::Namespace) {
1628 assert(getDeclKind() != Decl::LinkageSpec &&
1629 getDeclKind() != Decl::Export &&
1693 assert(getDeclKind() != Decl::LinkageSpec &&
1694 getDeclKind() != Decl::Export &&
1770 bool SkipRecords = getDeclKind() == Decl::Kind::Enum &&