Home
last modified time | relevance | path

Searched refs:getDeclKind (Results 1 – 15 of 15) sorted by relevance

/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DDeclBase.cpp156 switch (getDeclKind()) { in getDeclKindName()
869 Decl::Kind DK = D->getDeclKind(); in castFromDeclContext()
1111 if (getDeclKind() == Decl::Enum) in isTransparentContext()
1113 else if (getDeclKind() == Decl::LinkageSpec || getDeclKind() == Decl::Export) in isTransparentContext()
1159 switch (getDeclKind()) { in getPrimaryContext()
1195 if (getDeclKind() >= Decl::firstTag && getDeclKind() <= Decl::lastTag) { 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()
[all …]
H A DExternalASTMerger.cpp78 SearchResultDecl->getKind() == DC->getDeclKind()) in LookupSameContext()
H A DASTStructuralEquivalence.cpp919 Method1->getDeclKind() == Method2->getDeclKind() && in IsStructurallyEquivalent()
H A DODRHash.cpp528 ID.AddInteger(Function->getDeclKind()); in AddFunctionDecl()
H A DDecl.cpp305 while (DC->getDeclKind() != Decl::TranslationUnit) { in getOutermostFuncOrBlockContext()
H A DExpr.cpp729 if (DC->isFunctionOrMethod() && (DC->getDeclKind() != Decl::Captured)) { in ComputeName()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DDeclBase.h1745 Decl::Kind getDeclKind() const { in getDeclKind() function
1788 switch (getDeclKind()) { in isObjCContainer()
1801 switch (getDeclKind()) { in isFunctionOrMethod()
1807 return getDeclKind() >= Decl::firstFunction && in isFunctionOrMethod()
1808 getDeclKind() <= Decl::lastFunction; in isFunctionOrMethod()
1815 getDeclKind() != Decl::Export; in isLookupContext()
1820 getDeclKind() == Decl::Namespace; in isFileContext()
1824 return getDeclKind() == Decl::TranslationUnit; in isTranslationUnit()
1828 return getDeclKind() >= Decl::firstRecord && in isRecord()
1829 getDeclKind() <= Decl::lastRecord; in isRecord()
[all …]
H A DDecl.h1123 return DC->isFunctionOrMethod() && DC->getDeclKind() != Decl::Block; in isFunctionOrMethodVarDecl()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Serialization/
H A DASTCommon.cpp260 switch (DC->getDeclKind()) { in getDefinitiveDeclContext()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaPseudoObject.cpp699 S.getCurLexicalContext()->getDeclKind() != Decl::ObjCCategoryImpl && in DiagnoseUnsupportedPropertyUse()
700 S.getCurLexicalContext()->getDeclKind() != Decl::ObjCImplementation) { in DiagnoseUnsupportedPropertyUse()
H A DSemaDeclObjC.cpp3769 switch (CurContext->getDeclKind()) { in getObjCContainerKind()
4202 switch (container->getDeclKind()) { in searchFromContainer()
H A DSemaDecl.cpp12994 getCurLexicalContext()->getDeclKind() != Decl::ObjCCategoryImpl && in ActOnStartOfFunctionDef()
12995 getCurLexicalContext()->getDeclKind() != Decl::ObjCImplementation) in ActOnStartOfFunctionDef()
14801 DC->getDeclKind() == Decl::Enum) { in ActOnTag()
H A DSemaDeclCXX.cpp9305 switch (CurContext->getDeclKind()) { in IsUsingDirectiveInToplevelContext()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFASTParserClang.cpp795 decl_ctx->getDeclKind(); in ParseTypeFromDWARF()
1284 containing_decl_ctx->getDeclKind(); in ParseTypeFromDWARF()
3387 DeclKindIsCXXClass(containing_decl_ctx->getDeclKind()) && in ParseChildParameters()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Symbol/
H A DClangASTContext.cpp2457 lhs_decl_ctx->getDeclKind(); in DeclsAreEquivalent()
2459 rhs_decl_ctx->getDeclKind(); in DeclsAreEquivalent()
2497 switch (lhs_decl_ctx->getDeclKind()) { in DeclsAreEquivalent()