Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DTreeTransform.h152 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 DSemaTemplateInstantiate.cpp1385 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 DSemaType.cpp227 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 DSemaLookup.cpp304 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 DSemaCodeComplete.cpp299 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 DLookup.h412 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 DTemplate.h442 const Sema &getSema() const { return SemaRef; } in getSema() function
/freebsd/contrib/llvm-project/clang/lib/Interpreter/
H A DIncrementalParser.cpp221 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 DInterpreter.cpp563 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 DTestAST.h88 Sema &sema() { return Clang->getSema(); } in sema()
/freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangModulesDeclVendor.cpp444 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 DClangExpressionParser.cpp1114 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 DClangASTSource.h198 clang::Sema *getSema();
H A DCxxModuleHandler.cpp23 m_sema(TypeSystemClang::GetASTContext(target)->getSema()) { in CxxModuleHandler()
H A DClangASTSource.cpp556 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 DChainedIncludesSource.cpp177 ParseAST(Clang->getSema()); in createChainedIncludesSource()
H A DInterfaceStubFunctionsConsumer.cpp275 clang::Sema &S = Instance.getSema(); in HandleTranslationUnit()
H A DFrontendActions.cpp592 CI.getSema().TemplateInstCallbacks.push_back( in ExecuteAction()
H A DFrontendAction.cpp1192 ParseAST(CI.getSema(), CI.getFrontendOpts().ShowStats, in ExecuteAction()
H A DASTUnit.cpp2369 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 DARCMT.cpp314 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 DCompilerInstance.h561 Sema &getSema() const { in getSema() function
H A DASTUnit.h459 Sema &getSema() const { in getSema() function
/freebsd/contrib/llvm-project/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.h174 clang::Sema *getSema() { return m_sema; } in getSema() function
/freebsd/contrib/llvm-project/clang/include/clang/Serialization/
H A DASTReader.h2393 Sema *getSema() { return SemaObj; } in getSema() function

12