/external/clang/lib/Sema/ |
D | TreeTransform.h | 137 Sema &getSema() const { return SemaRef; } in getSema() function 1018 return getSema().CheckPackExpansion(Pattern, PatternRange, EllipsisLoc, in RebuildPackExpansionType() 1072 return getSema().Context.getSubstTemplateTemplateParmPack(Param, ArgPack); in RebuildTemplateName() 1083 return getSema().ActOnCompoundStmt(LBraceLoc, RBraceLoc, Statements, in RebuildCompoundStmt() 1096 return getSema().ActOnCaseStmt(CaseLoc, LHS, EllipsisLoc, RHS, in RebuildCaseStmt() 1105 getSema().ActOnCaseStmtBody(S, Body); in RebuildCaseStmtBody() 1116 return getSema().ActOnDefaultStmt(DefaultLoc, ColonLoc, SubStmt, in RebuildDefaultStmt() 1146 return getSema().ActOnIfStmt(IfLoc, Cond, CondVar, Then, ElseLoc, Else); in RebuildIfStmt() 1155 return getSema().ActOnStartOfSwitchStmt(SwitchLoc, Cond, in RebuildSwitchStmtStart() 1165 return getSema().ActOnFinishSwitchStmt(SwitchLoc, Switch, Body); in RebuildSwitchStmtBody() [all …]
|
D | SemaTemplateInstantiate.cpp | 665 return getSema().CheckParameterPacksForExpansion(EllipsisLoc, in TryExpandParameterPacks() 807 getSema().CallsUndergoingInstantiation.push_back(CE); in TransformCallExpr() 810 getSema().CallsUndergoingInstantiation.pop_back(); in TransformCallExpr() 846 TemplateDeclInstantiator DeclInstantiator(getSema(), in TransformTemplateParameterList() 864 getSema().MarkDeclarationsReferencedInType(Loc, T); in AlreadyTransformed() 897 Arg = getPackSubstitutedTemplateArgument(getSema(), Arg); in TransformDecl() 914 Decl *Inst = getSema().SubstDecl(D, getSema().CurContext, TemplateArgs); in TransformDefinition() 918 getSema().CurrentInstantiationScope->InstantiatedLocal(D, Inst); in TransformDefinition() 929 = cast<TemplateTypeParmType>(getSema().Context.getTypeDeclType(TTPD)); in TransformFirstQualifierInScope() 939 if (getSema().ArgumentPackSubstitutionIndex == -1) in TransformFirstQualifierInScope() [all …]
|
D | SemaType.cpp | 157 Sema &getSema() const { in getSema() function in __anon2e7915990111::TypeProcessingState 209 diagnoseBadTypeAttribute(getSema(), **i, type); in diagnoseIgnoredTypeAttrs() 417 diagnoseBadTypeAttribute(state.getSema(), attr, type); in distributeObjCPointerTypeAttr() 509 diagnoseBadTypeAttribute(state.getSema(), attr, type); in distributeFunctionTypeAttr() 611 if (!state.getSema().getLangOpts().ObjCAutoRefCount) in distributeTypeAttrsFromDeclarator() 701 Sema &S = state.getSema(); in ConvertDeclSpecToType() 1919 Sema &S = state.getSema(); in inferARCWriteback() 2131 Sema &SemaRef = state.getSema(); in GetDeclSpecTypeForDeclarator() 2530 Sema &S = state.getSema(); in GetFullTypeForDeclarator() 3339 Sema &S = state.getSema(); in transferARCOwnershipToDeclaratorChunk() [all …]
|
D | SemaLookup.cpp | 289 IDNS = getIDNS(LookupKind, getSema().getLangOpts().CPlusPlus, in configure() 300 getSema().DeclareGlobalNewDelete(); in configure() 311 if (!getSema().Context.BuiltinInfo.isPredefinedLibFunction(BuiltinID)) in configure() 404 QualType T = getSema().Context.getTypeDeclType(TD); in resolveKind() 405 if (!UniqueTypes.insert(getSema().Context.getCanonicalType(T)).second) { in resolveKind() 745 = R.getSema().Context.getFunctionType(R.getLookupName().getCXXNameType(), in LookupDirect() 750 if (R.getSema().DeduceTemplateArguments(ConvTemplate, nullptr, ExpectedType, in LookupDirect() 1288 return findAcceptableDecl(getSema(), D); in getAcceptableDeclSlow() 3041 !Result.getSema().getLangOpts().CPlusPlus) { in LookupVisibleDecls() 3042 auto &S = Result.getSema(); in LookupVisibleDecls() [all …]
|
D | SemaCodeComplete.cpp | 259 Sema &getSema() const { return SemaRef; } in getSema() function in __anoncc4d5a8b0111::ResultBuilder 1262 Accessible = Results.getSema().IsSimplyAccessible(ND, Ctx); in FoundDecl() 3523 PrintingPolicy Policy = getCompletionPrintingPolicy(Results.getSema()); in AddObjCProperties() 4601 if (Results.getSema().getLangOpts().Modules) { in AddObjCTopLevelResults() 4634 if (Results.getSema().getLangOpts().CPlusPlus || in AddObjCExpressionResults() 4635 Results.getSema().getLangOpts().ConstStrings) in AddObjCExpressionResults() 5458 ASTContext &Context = Results.getSema().Context; in getPreferredArgumentTypeForMessageSend() 6324 PrintingPolicy Policy = getCompletionPrintingPolicy(Results.getSema()); in AddObjCKeyValueCompletions()
|
D | SemaDecl.cpp | 653 bool CheckTemplate = R.getSema().getLangOpts().CPlusPlus && in isResultTypeOrTemplate()
|
/external/clang/include/clang/Sema/ |
D | Lookup.h | 305 if (isHiddenDeclarationVisible() || isVisible(getSema(), D)) in getAcceptableDecl() 551 Sema &getSema() const { return *SemaPtr; } in getSema() function 630 getSema().DiagnoseAmbiguousLookup(*this); in diagnose() 631 else if (isClassLookup() && getSema().getLangOpts().AccessControl) in diagnose() 632 getSema().CheckLookupAccess(*this); in diagnose()
|
D | Template.h | 258 const Sema &getSema() const { return SemaRef; } in getSema() function
|
/external/clang/unittests/Sema/ |
D | ExternalSemaSourceTest.cpp | 161 Sources[I]->InitializeSema(CI.getSema()); in ExecuteAction() 162 CI.getSema().addExternalSource(Sources[I]); in ExecuteAction() 164 ParseAST(CI.getSema(), CI.getFrontendOpts().ShowStats, in ExecuteAction()
|
/external/clang/unittests/CodeGen/ |
D | BufferSourceTest.cpp | 74 clang::ParseAST(compiler.getSema(), false, false); in TEST()
|
/external/clang/unittests/Frontend/ |
D | FrontendActionTest.cpp | 62 CI.getSema().ActOnEndOfTranslationUnit(); in HandleTranslationUnit()
|
/external/clang/lib/ARCMigrate/ |
D | ARCMT.cpp | 311 MigrationPass pass(Ctx, OrigGCMode, Unit->getSema(), testAct, capturedDiags, in checkForManualIssues() 573 Unit->getSema(), TA, capturedDiags, ARCMTMacroLocs); in applyTransform()
|
/external/clang/lib/Frontend/ |
D | ChainedIncludesSource.cpp | 199 ParseAST(Clang->getSema()); in createChainedIncludesSource()
|
D | FrontendAction.cpp | 537 ParseAST(CI.getSema(), CI.getFrontendOpts().ShowStats, in ExecuteAction()
|
D | ASTUnit.cpp | 2477 getSema(), hasErrors, OS); in serialize() 2482 return serializeUnit(Writer, Buffer, getSema(), hasErrors, OS); in serialize()
|
D | CompilerInstance.cpp | 1277 ModuleManager->InitializeSema(getSema()); in createModuleManager()
|
/external/clang/include/clang/Frontend/ |
D | CompilerInstance.h | 476 Sema &getSema() const { in getSema() function
|
D | ASTUnit.h | 511 Sema &getSema() const { in getSema() function
|
/external/clang/include/clang/Serialization/ |
D | ASTReader.h | 2117 Sema *getSema() { return SemaObj; } in getSema() function
|
/external/clang/lib/Serialization/ |
D | ASTReader.cpp | 7288 if (!getSema()) in ReadMethodPool() 7291 Sema &S = *getSema(); in ReadMethodPool()
|
/external/clang/docs/ |
D | InternalsManual.rst | 1965 function, which will in turn call ``getSema().BuildXXX`` to perform
|