/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | TreeTransform.h | 152 Sema &getSema() const { return SemaRef; } in getSema() function 1272 return getSema().CheckPackExpansion(Pattern, PatternRange, EllipsisLoc, in RebuildPackExpansionType() 1341 return getSema().Context.getSubstTemplateTemplateParmPack( in RebuildTemplateName() 1353 return getSema().ActOnCompoundStmt(LBraceLoc, RBraceLoc, Statements, in RebuildCompoundStmt() 1366 return getSema().ActOnCaseStmt(CaseLoc, LHS, EllipsisLoc, RHS, in RebuildCaseStmt() 1375 getSema().ActOnCaseStmtBody(S, Body); in RebuildCaseStmtBody() 1386 return getSema().ActOnDefaultStmt(DefaultLoc, ColonLoc, SubStmt, in RebuildDefaultStmt() 1419 return getSema().ActOnIfStmt(IfLoc, Kind, LParenLoc, Init, Cond, RParenLoc, in RebuildIfStmt() 1431 return getSema().ActOnStartOfSwitchStmt(SwitchLoc, LParenLoc, Init, Cond, in RebuildSwitchStmtStart() 1441 return getSema().ActOnFinishSwitchStmt(SwitchLoc, Switch, Body); in RebuildSwitchStmtBody() [all …]
|
H A D | SemaTemplateInstantiate.cpp | 1385 int Index = getSema().ArgumentPackSubstitutionIndex; in getPackIndex() 1396 return getSema().CheckParameterPacksForExpansion(EllipsisLoc, in TryExpandParameterPacks() 1645 getSema()); in ComputeLambdaDependency() 1761 TemplateDeclInstantiator DeclInstantiator(getSema(), in TransformTemplateParameterList() 1796 getSema().MarkDeclarationsReferencedInType(Loc, T); in AlreadyTransformed() 1829 Arg = getPackSubstitutedTemplateArgument(getSema(), Arg); in TransformDecl() 1846 Decl *Inst = getSema().SubstDecl(D, getSema().CurContext, TemplateArgs); in TransformDefinition() 1850 getSema().CurrentInstantiationScope->InstantiatedLocal(D, Inst); in TransformDefinition() 1871 = cast<TemplateTypeParmType>(getSema().Context.getTypeDeclType(TTPD)); in TransformFirstQualifierInScope() 1881 if (getSema().ArgumentPackSubstitutionIndex == -1) in TransformFirstQualifierInScope() [all …]
|
H A D | SemaType.cpp | 227 Sema &getSema() const { in getSema() function in __anonc2847d970111::TypeProcessingState 275 diagnoseBadTypeAttribute(getSema(), *Attr, type); in diagnoseIgnoredTypeAttrs() 538 diagnoseBadTypeAttribute(state.getSema(), attr, type); in distributeObjCPointerTypeAttr() 629 diagnoseBadTypeAttribute(state.getSema(), attr, type); in distributeFunctionTypeAttr() 888 Sema &S = state.getSema(); in ConvertDeclSpecToType() 2749 Sema &S = state.getSema(); in inferARCWriteback() 2968 Sema &S = state.getSema(); in InventTemplateParameter() 3074 Sema &SemaRef = state.getSema(); in GetDeclSpecTypeForDeclarator() 4216 Sema &S = state.getSema(); in GetFullTypeForDeclarator() 5253 if (state.getSema().getLangOpts().OpenCLCPlusPlus && IsClassMember()) { in GetFullTypeForDeclarator() [all …]
|
H A D | SemaLookup.cpp | 304 IDNS = getIDNS(LookupKind, getSema().getLangOpts().CPlusPlus, in configure() 315 getSema().DeclareGlobalNewDelete(); in configure() 326 if (!getSema().Context.BuiltinInfo.isPredefinedLibFunction(BuiltinID)) in configure() 562 QualType T = getSema().Context.getTypeDeclType(TD); in resolveKind() 564 std::make_pair(getSema().Context.getCanonicalType(T), I)); in resolveKind() 584 if (isPreferredLookupResult(getSema(), getLookupKind(), Decls[I], in resolveKind() 610 if (getSema().isEquivalentInternalLinkageDeclaration(HasNonFunction, in resolveKind() 616 if (D->isPlaceholderVar(getSema().getLangOpts()) && in resolveKind() 630 getSema().diagnoseEquivalentInternalLinkageDeclarations( in resolveKind() 1197 QualType ExpectedType = R.getSema().Context.getFunctionType( in LookupDirect() [all …]
|
H A D | SemaCodeComplete.cpp | 299 Sema &getSema() const { return SemaRef; } in getSema() function in __anone047e0890111::ResultBuilder 1733 auto ThisType = Results.getSema().getCurrentThisType(); in CodeCompletionDeclConsumer() 1781 return Results.getSema().IsSimplyAccessible(ND, NamingClass, BaseType); in IsAccessible() 2084 Sema &S = Results.getSema(); in AddOverrideResults() 5045 getCompletionPrintingPolicy(Results.getSema()), Builder, P, in AddObjCProperties() 5058 getCompletionPrintingPolicy(Results.getSema()), P, in AddObjCProperties() 5065 getCompletionPrintingPolicy(Results.getSema()), P, BlockLoc, in AddObjCProperties() 5099 PrintingPolicy Policy = getCompletionPrintingPolicy(Results.getSema()); in AddObjCProperties() 7283 if (Results.getSema().getLangOpts().Modules) { in AddObjCTopLevelResults() 7316 if (Results.getSema().getLangOpts().CPlusPlus || in AddObjCExpressionResults() [all …]
|
/freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
H A D | Lookup.h | 412 if (isAvailableForLookup(getSema(), D) || isHiddenDeclarationVisible(D)) in getAcceptableDecl() 670 Sema &getSema() const { return *SemaPtr; } in getSema() function 763 getSema().getLangOpts().AccessControl) in diagnoseAccess() 764 getSema().CheckLookupAccess(*this); in diagnoseAccess() 769 getSema().DiagnoseAmbiguousLookup(*this); in diagnoseAmbiguous()
|
H A D | Template.h | 442 const Sema &getSema() const { return SemaRef; } in getSema() function
|
/freebsd/contrib/llvm-project/clang/lib/Interpreter/ |
H A D | IncrementalParser.cpp | 221 new Parser(CI->getPreprocessor(), CI->getSema(), /*SkipBodies=*/false)); in IncrementalParser() 245 Sema &S = CI->getSema(); in ParseOrWrapTopLevelDecl() 418 getCI()->getSema().IdResolver.RemoveDecl(ND); in CleanUpPTU()
|
H A D | Interpreter.cpp | 563 getCompilerInstance()->getSema().LookupDestructor(CXXRD); in CompileDtorCall() 588 Sema &S = getCompilerInstance()->getSema(); in FindRuntimeInterface() 842 Sema &S = getCompilerInstance()->getSema(); in SynthesizeExpr()
|
/freebsd/contrib/llvm-project/clang/include/clang/Testing/ |
H A D | TestAST.h | 88 Sema &sema() { return Clang->getSema(); } in sema()
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/ |
H A D | ClangModulesDeclVendor.cpp | 444 m_compiler_instance->getSema(), clang::DeclarationName(&ident), in FindDecls() 447 m_compiler_instance->getSema().LookupName( in FindDecls() 449 m_compiler_instance->getSema().getScopeForContext( in FindDecls() 763 instance->getPreprocessor(), instance->getSema(), skipFunctionBodies)); in Create()
|
H A D | ClangExpressionParser.cpp | 1114 m_ast_context->setSema(&m_compiler->getSema()); in ParseInternal() 1144 assert(m_compiler->getSema().getExternalSource() && in ParseInternal() 1150 &m_compiler->getSema()); in ParseInternal() 1151 ParseAST(m_compiler->getSema(), false, false); in ParseInternal()
|
H A D | ClangASTSource.h | 198 clang::Sema *getSema();
|
H A D | CxxModuleHandler.cpp | 23 m_sema(TypeSystemClang::GetASTContext(target)->getSema()) { in CxxModuleHandler()
|
H A D | ClangASTSource.cpp | 556 clang::Sema *ClangASTSource::getSema() { in getSema() function in ClangASTSource 557 return m_clang_ast_context->getSema(); in getSema()
|
/freebsd/contrib/llvm-project/clang/lib/Frontend/ |
H A D | ChainedIncludesSource.cpp | 177 ParseAST(Clang->getSema()); in createChainedIncludesSource()
|
H A D | InterfaceStubFunctionsConsumer.cpp | 275 clang::Sema &S = Instance.getSema(); in HandleTranslationUnit()
|
H A D | FrontendActions.cpp | 592 CI.getSema().TemplateInstCallbacks.push_back( in ExecuteAction()
|
H A D | FrontendAction.cpp | 1192 ParseAST(CI.getSema(), CI.getFrontendOpts().ShowStats, in ExecuteAction()
|
H A D | ASTUnit.cpp | 2369 return serializeUnit(WriterData->Writer, WriterData->Buffer, getSema(), OS); in serialize() 2375 return serializeUnit(Writer, Buffer, getSema(), OS); in serialize()
|
/freebsd/contrib/llvm-project/clang/lib/ARCMigrate/ |
H A D | ARCMT.cpp | 314 MigrationPass pass(Ctx, OrigGCMode, Unit->getSema(), testAct, capturedDiags, in checkForManualIssues() 581 Unit->getSema(), TA, capturedDiags, ARCMTMacroLocs); in applyTransform()
|
/freebsd/contrib/llvm-project/clang/include/clang/Frontend/ |
H A D | CompilerInstance.h | 561 Sema &getSema() const { in getSema() function
|
H A D | ASTUnit.h | 459 Sema &getSema() const { in getSema() function
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/TypeSystem/Clang/ |
H A D | TypeSystemClang.h | 174 clang::Sema *getSema() { return m_sema; } in getSema() function
|
/freebsd/contrib/llvm-project/clang/include/clang/Serialization/ |
H A D | ASTReader.h | 2393 Sema *getSema() { return SemaObj; } in getSema() function
|