Home
last modified time | relevance | path

Searched refs:getSema (Results 1 – 25 of 31) sorted by relevance

12

/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DTreeTransform.h145 Sema &getSema() const { return SemaRef; } in getSema() function
1228 return getSema().CheckPackExpansion(Pattern, PatternRange, EllipsisLoc, in RebuildPackExpansionType()
1297 return getSema().Context.getSubstTemplateTemplateParmPack( in RebuildTemplateName()
1309 return getSema().ActOnCompoundStmt(LBraceLoc, RBraceLoc, Statements, in RebuildCompoundStmt()
1322 return getSema().ActOnCaseStmt(CaseLoc, LHS, EllipsisLoc, RHS, in RebuildCaseStmt()
1331 getSema().ActOnCaseStmtBody(S, Body); in RebuildCaseStmtBody()
1342 return getSema().ActOnDefaultStmt(DefaultLoc, ColonLoc, SubStmt, in RebuildDefaultStmt()
1373 return getSema().ActOnIfStmt(IfLoc, Kind, LParenLoc, Init, Cond, RParenLoc, in RebuildIfStmt()
1385 return getSema().ActOnStartOfSwitchStmt(SwitchLoc, LParenLoc, Init, Cond, in RebuildSwitchStmtStart()
1395 return getSema().ActOnFinishSwitchStmt(SwitchLoc, Switch, Body); in RebuildSwitchStmtBody()
[all …]
H A DSemaTemplateInstantiate.cpp1141 int Index = getSema().ArgumentPackSubstitutionIndex; in getPackIndex()
1152 return getSema().CheckParameterPacksForExpansion(EllipsisLoc, in TryExpandParameterPacks()
1420 TemplateDeclInstantiator DeclInstantiator(getSema(), in TransformTemplateParameterList()
1455 getSema().MarkDeclarationsReferencedInType(Loc, T); in AlreadyTransformed()
1488 Arg = getPackSubstitutedTemplateArgument(getSema(), Arg); in TransformDecl()
1505 Decl *Inst = getSema().SubstDecl(D, getSema().CurContext, TemplateArgs); in TransformDefinition()
1509 getSema().CurrentInstantiationScope->InstantiatedLocal(D, Inst); in TransformDefinition()
1520 = cast<TemplateTypeParmType>(getSema().Context.getTypeDeclType(TTPD)); in TransformFirstQualifierInScope()
1530 if (getSema().ArgumentPackSubstitutionIndex == -1) in TransformFirstQualifierInScope()
1533 Arg = getPackSubstitutedTemplateArgument(getSema(), Arg); in TransformFirstQualifierInScope()
[all …]
H A DSemaType.cpp204 Sema &getSema() const { in getSema() function in __anon41c88aee0111::TypeProcessingState
252 diagnoseBadTypeAttribute(getSema(), *Attr, type); in diagnoseIgnoredTypeAttrs()
514 diagnoseBadTypeAttribute(state.getSema(), attr, type); in distributeObjCPointerTypeAttr()
605 diagnoseBadTypeAttribute(state.getSema(), attr, type); in distributeFunctionTypeAttr()
1273 Sema &S = state.getSema(); in ConvertDeclSpecToType()
3132 Sema &S = state.getSema(); in inferARCWriteback()
3351 Sema &S = state.getSema(); in InventTemplateParameter()
3450 Sema &SemaRef = state.getSema(); in GetDeclSpecTypeForDeclarator()
4596 Sema &S = state.getSema(); in GetFullTypeForDeclarator()
5558 if (state.getSema().getLangOpts().OpenCLCPlusPlus && IsClassMember()) { in GetFullTypeForDeclarator()
[all …]
H A DSemaLookup.cpp302 IDNS = getIDNS(LookupKind, getSema().getLangOpts().CPlusPlus, in configure()
313 getSema().DeclareGlobalNewDelete(); in configure()
324 if (!getSema().Context.BuiltinInfo.isPredefinedLibFunction(BuiltinID)) in configure()
537 QualType T = getSema().Context.getTypeDeclType(TD); in resolveKind()
539 std::make_pair(getSema().Context.getCanonicalType(T), I)); in resolveKind()
559 if (isPreferredLookupResult(getSema(), getLookupKind(), Decls[I], in resolveKind()
586 if (getSema().isEquivalentInternalLinkageDeclaration(HasNonFunction, in resolveKind()
624 getSema().diagnoseEquivalentInternalLinkageDeclarations( in resolveKind()
1183 QualType ExpectedType = R.getSema().Context.getFunctionType( in LookupDirect()
1188 if (R.getSema().DeduceTemplateArguments(ConvTemplate, nullptr, ExpectedType, in LookupDirect()
[all …]
H A DSemaCodeComplete.cpp295 Sema &getSema() const { return SemaRef; } in getSema() function in __anon4b9354e00111::ResultBuilder
1667 auto ThisType = Results.getSema().getCurrentThisType(); in CodeCompletionDeclConsumer()
1715 return Results.getSema().IsSimplyAccessible(ND, NamingClass, BaseType); in IsAccessible()
2015 Sema &S = Results.getSema(); in AddOverrideResults()
4950 getCompletionPrintingPolicy(Results.getSema()), Builder, P, in AddObjCProperties()
4963 getCompletionPrintingPolicy(Results.getSema()), P, in AddObjCProperties()
4970 getCompletionPrintingPolicy(Results.getSema()), P, BlockLoc, in AddObjCProperties()
5004 PrintingPolicy Policy = getCompletionPrintingPolicy(Results.getSema()); in AddObjCProperties()
7130 if (Results.getSema().getLangOpts().Modules) { in AddObjCTopLevelResults()
7162 if (Results.getSema().getLangOpts().CPlusPlus || in AddObjCExpressionResults()
[all …]
H A DSemaConcept.cpp701 QualType Result = getSema().Context.getTemplateTypeParmType( in TransformTemplateTypeParmType()
/openbsd-src/gnu/llvm/clang/include/clang/Sema/
H A DLookup.h389 if (isAvailableForLookup(getSema(), D) || isHiddenDeclarationVisible(D)) in getAcceptableDecl()
638 Sema &getSema() const { return *SemaPtr; } in getSema() function
722 getSema().DiagnoseAmbiguousLookup(*this); in diagnose()
723 else if (isClassLookup() && getSema().getLangOpts().AccessControl) in diagnose()
724 getSema().CheckLookupAccess(*this); in diagnose()
H A DTemplate.h411 const Sema &getSema() const { return SemaRef; } in getSema() function
/openbsd-src/gnu/llvm/clang/include/clang/Testing/
H A DTestAST.h81 Sema &sema() { return Clang->getSema(); } in sema()
/openbsd-src/gnu/llvm/clang/lib/Interpreter/
H A DIncrementalParser.cpp136 new Parser(CI->getPreprocessor(), CI->getSema(), /*SkipBodies=*/false)); in IncrementalParser()
148 Sema &S = CI->getSema(); in ParseOrWrapTopLevelDecl()
/openbsd-src/gnu/llvm/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangModulesDeclVendor.cpp455 m_compiler_instance->getSema(), clang::DeclarationName(&ident), in FindDecls()
458 m_compiler_instance->getSema().LookupName( in FindDecls()
460 m_compiler_instance->getSema().getScopeForContext( in FindDecls()
774 instance->getPreprocessor(), instance->getSema(), skipFunctionBodies)); in Create()
H A DClangExpressionParser.cpp1127 m_ast_context->setSema(&m_compiler->getSema()); in ParseInternal()
1157 assert(m_compiler->getSema().getExternalSource() && in ParseInternal()
1163 &m_compiler->getSema()); in ParseInternal()
1164 ParseAST(m_compiler->getSema(), false, false); in ParseInternal()
H A DClangASTSource.h198 clang::Sema *getSema();
H A DCxxModuleHandler.cpp23 m_sema(TypeSystemClang::GetASTContext(target)->getSema()) { in CxxModuleHandler()
H A DClangASTSource.cpp575 clang::Sema *ClangASTSource::getSema() { in getSema() function in ClangASTSource
576 return m_clang_ast_context->getSema(); in getSema()
/openbsd-src/gnu/llvm/clang/examples/PrintFunctionNames/
H A DPrintFunctionNames.cpp69 clang::Sema &sema = Instance.getSema(); in HandleTranslationUnit()
/openbsd-src/gnu/llvm/clang/lib/Frontend/
H A DChainedIncludesSource.cpp177 ParseAST(Clang->getSema()); in createChainedIncludesSource()
H A DInterfaceStubFunctionsConsumer.cpp274 clang::Sema &S = Instance.getSema(); in HandleTranslationUnit()
H A DFrontendActions.cpp548 CI.getSema().TemplateInstCallbacks.push_back( in ExecuteAction()
H A DFrontendAction.cpp1165 ParseAST(CI.getSema(), CI.getFrontendOpts().ShowStats, in ExecuteAction()
H A DASTUnit.cpp2348 getSema(), hasErrors, OS); in serialize()
2354 return serializeUnit(Writer, Buffer, getSema(), hasErrors, OS); in serialize()
/openbsd-src/gnu/llvm/clang/lib/ARCMigrate/
H A DARCMT.cpp314 MigrationPass pass(Ctx, OrigGCMode, Unit->getSema(), testAct, capturedDiags, in checkForManualIssues()
581 Unit->getSema(), TA, capturedDiags, ARCMTMacroLocs); in applyTransform()
/openbsd-src/gnu/llvm/clang/include/clang/Frontend/
H A DCompilerInstance.h505 Sema &getSema() const { in getSema() function
H A DASTUnit.h455 Sema &getSema() const { in getSema() function
/openbsd-src/gnu/llvm/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.h171 clang::Sema *getSema() { return m_sema; } in getSema() function

12