Lines Matching refs:sema
14 #include "clang/Sema/Lookup.h"
26 #include "clang/Sema/DeclSpec.h"
27 #include "clang/Sema/ExternalSemaSource.h"
28 #include "clang/Sema/Overload.h"
29 #include "clang/Sema/Scope.h"
30 #include "clang/Sema/ScopeInfo.h"
31 #include "clang/Sema/Sema.h"
32 #include "clang/Sema/SemaInternal.h"
33 #include "clang/Sema/TemplateDeduction.h"
34 #include "clang/Sema/TypoCorrection.h"
52 using namespace sema;
212 static inline unsigned getIDNS(Sema::LookupNameKind NameKind,
217 case Sema::LookupObjCImplicitSelfParam:
218 case Sema::LookupOrdinaryName:
219 case Sema::LookupRedeclarationWithLinkage:
228 case Sema::LookupOperatorName:
235 case Sema::LookupTagName:
250 case Sema::LookupLabel:
254 case Sema::LookupMemberName:
260 case Sema::LookupNestedNameSpecifierName:
264 case Sema::LookupNamespaceName:
268 case Sema::LookupUsingDeclName:
273 case Sema::LookupObjCProtocolName:
277 case Sema::LookupAnyName:
334 // Necessary because CXXBasePaths is not complete in Sema.h
498 static bool LookupBuiltin(Sema &S, LookupResult &R) {
499 Sema::LookupNameKind NameKind = R.getLookupKind();
504 if (NameKind == Sema::LookupOrdinaryName ||
505 NameKind == Sema::LookupRedeclarationWithLinkage) {
557 void Sema::ForceDeclarationOfImplicitMembers(CXXRecordDecl *Class) {
608 static void DeclareImplicitMemberFunctionsWithName(Sema &S,
659 static bool LookupDirect(Sema &S, LookupResult &R, const DeclContext *DC) {
742 == Sema::TDK_Success) {
753 CppNamespaceLookup(Sema &S, LookupResult &R, ASTContext &Context,
850 bool Sema::CppLookupName(LookupResult &R, Scope *S) {
1149 llvm::DenseSet<Module*> &Sema::getLookupModules() {
1169 bool LookupResult::isVisibleSlow(Sema &SemaRef, NamedDecl *D) {
1248 bool Sema::LookupName(LookupResult &R, Scope *S, bool AllowBuiltinCreation) {
1257 if (NameKind == Sema::LookupRedeclarationWithLinkage) {
1381 static bool LookupQualifiedNameInUsingDirectives(Sema &S, LookupResult &R,
1531 bool Sema::LookupQualifiedName(LookupResult &R, DeclContext *LookupCtx,
1533 assert(LookupCtx && "Sema::LookupQualifiedName requires a lookup context");
1732 bool Sema::LookupParsedName(LookupResult &R, Scope *S, CXXScopeSpec *SS,
1770 bool Sema::DiagnoseAmbiguousLookup(LookupResult &Result) {
1855 AssociatedLookup(Sema &S, SourceLocation InstantiationLoc,
1856 Sema::AssociatedNamespaceSet &Namespaces,
1857 Sema::AssociatedClassSet &Classes)
1862 Sema &S;
1863 Sema::AssociatedNamespaceSet &Namespaces;
1864 Sema::AssociatedClassSet &Classes;
1872 static void CollectEnclosingNamespace(Sema::AssociatedNamespaceSet &Namespaces,
2208 Sema::FindAssociatedClassesAndNamespaces(SourceLocation InstantiationLoc,
2301 NamedDecl *Sema::LookupSingleName(Scope *S, DeclarationName Name,
2311 ObjCProtocolDecl *Sema::LookupProtocol(IdentifierInfo *II,
2319 void Sema::LookupOverloadedOperatorName(OverloadedOperatorKind Op, Scope *S,
2360 Sema::SpecialMemberOverloadResult *Sema::LookupSpecialMember(CXXRecordDecl *RD,
2551 CXXConstructorDecl *Sema::LookupDefaultConstructor(CXXRecordDecl *Class) {
2560 CXXConstructorDecl *Sema::LookupCopyingConstructor(CXXRecordDecl *Class,
2572 CXXConstructorDecl *Sema::LookupMovingConstructor(CXXRecordDecl *Class,
2582 DeclContext::lookup_result Sema::LookupConstructors(CXXRecordDecl *Class) {
2599 CXXMethodDecl *Sema::LookupCopyingAssignment(CXXRecordDecl *Class,
2616 CXXMethodDecl *Sema::LookupMovingAssignment(CXXRecordDecl *Class,
2637 CXXDestructorDecl *Sema::LookupDestructor(CXXRecordDecl *Class) {
2649 Sema::LiteralOperatorLookupResult
2650 Sema::LookupLiteralOperator(Scope *S, LookupResult &R,
2785 void Sema::ArgumentDependentLookup(DeclarationName Name, bool Operator,
3161 Result.getNameLoc(), Sema::LookupMemberName);
3211 void Sema::LookupVisibleDecls(Scope *S, LookupNameKind Kind,
3236 void Sema::LookupVisibleDecls(DeclContext *Ctx, LookupNameKind Kind,
3252 LabelDecl *Sema::LookupOrCreateLabel(IdentifierInfo *II, SourceLocation Loc,
3304 Sema &SemaRef;
3307 explicit TypoCorrectionConsumer(Sema &SemaRef, IdentifierInfo *Typo)
3628 static void LookupPotentialTypoResult(Sema &SemaRef,
3679 static void AddKeywordsToConsumer(Sema &SemaRef,
3859 TypoCorrection Sema::CorrectTypo(const DeclarationNameInfo &TypoName,
3860 Sema::LookupNameKind LookupKind,
4308 FunctionCallFilterCCC::FunctionCallFilterCCC(Sema &SemaRef, unsigned NumArgs,