Home | History | Annotate | Download | only in Sema

Lines Matching full:sema

14 #include "clang/Sema/Lookup.h"
27 #include "clang/Sema/DeclSpec.h"
28 #include "clang/Sema/ExternalSemaSource.h"
29 #include "clang/Sema/Overload.h"
30 #include "clang/Sema/Scope.h"
31 #include "clang/Sema/ScopeInfo.h"
32 #include "clang/Sema/Sema.h"
33 #include "clang/Sema/SemaInternal.h"
34 #include "clang/Sema/TemplateDeduction.h"
35 #include "clang/Sema/TypoCorrection.h"
53 using namespace sema;
207 static inline unsigned getIDNS(Sema::LookupNameKind NameKind,
212 case Sema::LookupObjCImplicitSelfParam:
213 case Sema::LookupOrdinaryName:
214 case Sema::LookupRedeclarationWithLinkage:
215 case Sema::LookupLocalFriendName:
226 case Sema::LookupOperatorName:
233 case Sema::LookupTagName:
249 case Sema::LookupLabel:
253 case Sema::LookupMemberName:
259 case Sema::LookupNestedNameSpecifierName:
263 case Sema::LookupNamespaceName:
267 case Sema::LookupUsingDeclName:
274 case Sema::LookupObjCProtocolName:
278 case Sema::LookupAnyName:
333 // Necessary because CXXBasePaths is not complete in Sema.h
512 static bool LookupBuiltin(Sema &S, LookupResult &R) {
513 Sema::LookupNameKind NameKind = R.getLookupKind();
518 if (NameKind == Sema::LookupOrdinaryName ||
519 NameKind == Sema::LookupRedeclarationWithLinkage) {
563 void Sema::ForceDeclarationOfImplicitMembers(CXXRecordDecl *Class) {
614 static void DeclareImplicitMemberFunctionsWithName(Sema &S,
665 static bool LookupDirect(Sema &S, LookupResult &R, const DeclContext *DC) {
748 == Sema::TDK_Success) {
759 CppNamespaceLookup(Sema &S, LookupResult &R, ASTContext &Context,
876 bool Sema::CppLookupName(LookupResult &R, Scope *S) {
880 Sema::LookupNameKind NameKind = R.getLookupKind();
1211 llvm::DenseSet<Module*> &Sema::getLookupModules() {
1231 bool LookupResult::isVisibleSlow(Sema &SemaRef, NamedDecl *D) {
1268 static NamedDecl *findAcceptableDecl(Sema &SemaRef, NamedDecl *D) {
1313 bool Sema::LookupName(LookupResult &R, Scope *S, bool AllowBuiltinCreation) {
1322 if (NameKind == Sema::LookupRedeclarationWithLinkage) {
1450 static bool LookupQualifiedNameInUsingDirectives(Sema &S, LookupResult &R,
1597 bool Sema::LookupQualifiedName(LookupResult &R, DeclContext *LookupCtx,
1599 assert(LookupCtx && "Sema::LookupQualifiedName requires a lookup context");
1799 bool Sema
1835 void Sema::DiagnoseAmbiguousLookup(LookupResult &Result) {
1914 AssociatedLookup(Sema &S, SourceLocation InstantiationLoc,
1915 Sema::AssociatedNamespaceSet &Namespaces,
1916 Sema::AssociatedClassSet &Classes)
1921 Sema &S;
1922 Sema::AssociatedNamespaceSet &Namespaces;
1923 Sema::AssociatedClassSet &Classes;
1931 static void CollectEnclosingNamespace(Sema::AssociatedNamespaceSet &Namespaces,
2263 void Sema::FindAssociatedClassesAndNamespaces(
2315 NamedDecl *Sema::LookupSingleName(Scope *S, DeclarationName Name,
2325 ObjCProtocolDecl *Sema::LookupProtocol(IdentifierInfo *II,
2333 void Sema::LookupOverloadedOperatorName(OverloadedOperatorKind Op, Scope *S,
2350 Sema::SpecialMemberOverloadResult *Sema::LookupSpecialMember(CXXRecordDecl *RD,
2547 CXXConstructorDecl *Sema::LookupDefaultConstructor(CXXRecordDecl *Class) {
2556 CXXConstructorDecl *Sema::LookupCopyingConstructor(CXXRecordDecl *Class,
2568 CXXConstructorDecl *Sema::LookupMovingConstructor(CXXRecordDecl *Class,
2578 DeclContext::lookup_result Sema::LookupConstructors(CXXRecordDecl *Class) {
2595 CXXMethodDecl *Sema::LookupCopyingAssignment(CXXRecordDecl *Class,
2612 CXXMethodDecl *Sema::LookupMovingAssignment(CXXRecordDecl *Class,
2633 CXXDestructorDecl *Sema::LookupDestructor(CXXRecordDecl *Class) {
2645 Sema::LiteralOperatorLookupResult
2646 Sema::LookupLiteralOperator(Scope *S, LookupResult &R,
2788 void Sema::ArgumentDependentLookup(DeclarationName Name, SourceLocation Loc,
3142 Result.getNameLoc(), Sema::LookupMemberName);
3192 void Sema::LookupVisibleDecls(Scope *S, LookupNameKind Kind,
3218 void Sema::LookupVisibleDecls(DeclContext *Ctx, LookupNameKind Kind,
3235 LabelDecl *Sema::LookupOrCreateLabel(IdentifierInfo *II, SourceLocation Loc,
3274 static void LookupPotentialTypoResult(Sema &SemaRef,
3334 explicit TypoCorrectionConsumer(Sema &SemaRef,
3336 Sema::LookupNameKind LookupKind,
3461 Sema &SemaRef;
3724 TRD.getPair()) == Sema::AR_accessible)
3889 static void LookupPotentialTypoResult(Sema &SemaRef,
3942 static void AddKeywordsToConsumer(Sema &SemaRef,
4088 static void checkCorrectionVisibility(Sema &SemaRef, TypoCorrection &TC) {
4159 TypoCorrection Sema::CorrectTypo(const DeclarationNameInfo &TypoName,
4160 Sema::LookupNameKind LookupKind,
4480 FunctionCallFilterCCC::FunctionCallFilterCCC(Sema &SemaRef, unsigned NumArgs,
4542 void Sema::diagnoseTypo(const TypoCorrection &Correction,
4579 void Sema::diagnoseTypo(const TypoCorrection &Correction,