clang
3.7.0
|
The results of name lookup within a DeclContext. This is either a single result (with no stable storage) or a collection of results (with stable storage provided by the lookup table). More...
#include <DeclBase.h>
Classes | |
class | iterator |
Public Types | |
typedef llvm::iterator_adaptor_base < iterator, ResultTy::iterator, std::random_access_iterator_tag, NamedDecl *const > | IteratorBase |
typedef iterator | const_iterator |
typedef iterator::pointer | pointer |
typedef iterator::reference | reference |
Public Member Functions | |
DeclContextLookupResult () | |
DeclContextLookupResult (ArrayRef< NamedDecl * > Result) | |
DeclContextLookupResult (NamedDecl *Single) | |
iterator | begin () const |
iterator | end () const |
bool | empty () const |
pointer | data () const |
size_t | size () const |
reference | front () const |
reference | back () const |
reference | operator[] (size_t N) const |
DeclContextLookupResult | slice (size_t N) const |
The results of name lookup within a DeclContext. This is either a single result (with no stable storage) or a collection of results (with stable storage provided by the lookup table).
Definition at line 1034 of file DeclBase.h.
Definition at line 1066 of file DeclBase.h.
typedef llvm::iterator_adaptor_base<iterator, ResultTy::iterator, std::random_access_iterator_tag, NamedDecl *const> clang::DeclContextLookupResult::IteratorBase |
Definition at line 1050 of file DeclBase.h.
typedef iterator::pointer clang::DeclContextLookupResult::pointer |
Definition at line 1067 of file DeclBase.h.
typedef iterator::reference clang::DeclContextLookupResult::reference |
Definition at line 1068 of file DeclBase.h.
|
inline |
Definition at line 1044 of file DeclBase.h.
Definition at line 1045 of file DeclBase.h.
|
inline |
Definition at line 1047 of file DeclBase.h.
|
inline |
Definition at line 1077 of file DeclBase.h.
|
inline |
Definition at line 1070 of file DeclBase.h.
Referenced by clang::Sema::ActOnStartNamespaceDef(), clang::Sema::CheckCompletedCXXClass(), checkGlobalOrExternCConflict(), clang::Sema::DeclareGlobalAllocationFunction(), clang::Sema::DiagnoseAmbiguousLookup(), EvaluateUnaryTypeTrait(), clang::Sema::FindHiddenVirtualMethods(), clang::Sema::FindInstantiatedDecl(), clang::ObjCPropertyDecl::findPropertyDecl(), clang::ObjCContainerDecl::getIvarDecl(), clang::ObjCContainerDecl::getMethod(), clang::ObjCContainerDecl::HasUserDeclaredSetterMethod(), IsInitializerListConstructorConversion(), IsUserDefinedConversion(), clang::CXXMethodDecl::isUsualDeallocationFunction(), clang::DeclContext::localUncachedLookup(), LookupCopyAndMoveConstructors(), LookupDirect(), TryUserDefinedConversion(), and clang::DeclContext::using_directives().
|
inline |
Definition at line 1074 of file DeclBase.h.
|
inline |
Definition at line 1073 of file DeclBase.h.
Referenced by clang::Sema::ActOnPropertyImplDecl(), clang::Sema::BuildMemInitializer(), FindHiddenVirtualMethod(), clang::CXXRecordDecl::FindNestedNameSpecifierMember(), clang::CXXRecordDecl::FindOrdinaryMember(), FindOverriddenMethod(), clang::CXXRecordDecl::FindTagMember(), clang::CXXRecordDecl::getDestructor(), clang::CXXRecordDecl::getLambdaCallOperator(), clang::CXXRecordDecl::getLambdaStaticInvoker(), hasMember(), LookupAnyMember(), clang::TreeTransform< Derived >::RebuildShuffleVectorExpr(), and threadSafetyCheckIsSmartPointer().
|
inline |
Definition at line 1071 of file DeclBase.h.
Referenced by clang::Sema::ActOnStartNamespaceDef(), clang::Sema::CheckCompletedCXXClass(), checkGlobalOrExternCConflict(), clang::Sema::DeclareGlobalAllocationFunction(), EvaluateUnaryTypeTrait(), clang::Sema::FindHiddenVirtualMethods(), clang::Sema::FindInstantiatedDecl(), clang::ObjCPropertyDecl::findPropertyDecl(), clang::ObjCContainerDecl::getIvarDecl(), clang::ObjCContainerDecl::getMethod(), clang::ObjCContainerDecl::HasUserDeclaredSetterMethod(), IsInitializerListConstructorConversion(), IsUserDefinedConversion(), clang::CXXMethodDecl::isUsualDeallocationFunction(), clang::DeclContext::localUncachedLookup(), LookupCopyAndMoveConstructors(), LookupDirect(), TryUserDefinedConversion(), and clang::DeclContext::using_directives().
|
inline |
Definition at line 1076 of file DeclBase.h.
Referenced by clang::Sema::BuildMemInitializer(), FindHiddenVirtualMethod(), clang::CXXRecordDecl::FindNestedNameSpecifierMember(), clang::CXXRecordDecl::FindOrdinaryMember(), FindOverriddenMethod(), clang::CXXRecordDecl::FindTagMember(), clang::CXXRecordDecl::getDestructor(), clang::CXXRecordDecl::getLambdaCallOperator(), clang::CXXRecordDecl::getLambdaStaticInvoker(), and clang::TreeTransform< Derived >::RebuildShuffleVectorExpr().
Definition at line 1078 of file DeclBase.h.
|
inline |
Definition at line 1075 of file DeclBase.h.
Referenced by clang::Sema::ActOnProperty(), clang::Sema::BuildCXXDefaultInitExpr(), CheckPropertyAgainstProtocol(), ClassImplementsAllMethodsAndProperties(), clang::CXXRecordDecl::getLambdaCallOperator(), clang::CXXRecordDecl::getLambdaStaticInvoker(), and clang::Sema::InstantiateClassMembers().
|
inline |
Definition at line 1081 of file DeclBase.h.
Referenced by FindHiddenVirtualMethod(), clang::CXXRecordDecl::FindNestedNameSpecifierMember(), clang::CXXRecordDecl::FindOrdinaryMember(), FindOverriddenMethod(), and clang::CXXRecordDecl::FindTagMember().