Lines Matching defs:getDeclKind
1778 Decl::Kind getDeclKind() const {
1818 bool isClosure() const { return getDeclKind() == Decl::Block; }
1825 switch (getDeclKind()) {
1838 switch (getDeclKind()) {
1844 return getDeclKind() >= Decl::firstFunction &&
1845 getDeclKind() <= Decl::lastFunction;
1851 return !isFunctionOrMethod() && getDeclKind() != Decl::LinkageSpec &&
1852 getDeclKind() != Decl::Export;
1856 return getDeclKind() == Decl::TranslationUnit ||
1857 getDeclKind() == Decl::Namespace;
1861 return getDeclKind() == Decl::TranslationUnit;
1865 return getDeclKind() >= Decl::firstRecord &&
1866 getDeclKind() <= Decl::lastRecord;
1869 bool isNamespace() const { return getDeclKind() == Decl::Namespace; }
2497 return To::classofKind(Val.getDeclKind());