Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DTreeTransform.h123 : Self(Self), ResetPackSubstIndex(Self.getSema(), std::nullopt) { in ForgetPartiallySubstitutedPackRAII()
157 Sema &getSema() const { return SemaRef; } in getSema() function
1259 return getSema().CheckPackExpansion(Pattern, PatternRange, EllipsisLoc, in RebuildPackExpansionType()
1335 return getSema().Context.getSubstTemplateTemplateParmPack( in RebuildTemplateName()
1347 return getSema().ActOnCompoundStmt(LBraceLoc, RBraceLoc, Statements, in RebuildCompoundStmt()
1360 return getSema().ActOnCaseStmt(CaseLoc, LHS, EllipsisLoc, RHS, in RebuildCaseStmt()
1369 getSema().ActOnCaseStmtBody(S, Body); in RebuildCaseStmtBody()
1380 return getSema().ActOnDefaultStmt(DefaultLoc, ColonLoc, SubStmt, in RebuildDefaultStmt()
1413 return getSema().ActOnIfStmt(IfLoc, Kind, LParenLoc, Init, Cond, RParenLoc, in RebuildIfStmt()
1425 return getSema().ActOnStartOfSwitchStmt(SwitchLoc, LParenLoc, Init, Cond, in RebuildSwitchStmtStart()
[all …]
H A DSemaTemplateInstantiate.cpp1448 UnsignedOrNone Index = getSema().ArgPackSubstIndex; in getPackIndex()
1469 return getSema().CheckParameterPacksForExpansion( in TryExpandParameterPacks()
1757 getSema()); in ComputeLambdaDependency()
1881 TemplateDeclInstantiator DeclInstantiator(getSema(), in TransformTemplateParameterList()
1917 getSema().MarkDeclarationsReferencedInType(Loc, T); in AlreadyTransformed()
1942 Arg = getPackSubstitutedTemplateArgument(getSema(), Arg); in TransformDecl()
1997 Sema::ArgPackSubstIndexRAII SubstIndex(getSema(), I); in maybeInstantiateFunctionParameterToScope()
2007 Decl *Inst = getSema().SubstDecl(D, getSema().CurContext, TemplateArgs); in TransformDefinition()
2011 getSema().CurrentInstantiationScope->InstantiatedLocal(D, Inst); in TransformDefinition()
2032 = cast<TemplateTypeParmType>(getSema().Context.getTypeDeclType(TTPD)); in TransformFirstQualifierInScope()
[all …]
H A DSemaType.cpp234 Sema &getSema() const { in getSema() function in __anonc2847d970111::TypeProcessingState
282 diagnoseBadTypeAttribute(getSema(), *Attr, type); in diagnoseIgnoredTypeAttrs()
549 diagnoseBadTypeAttribute(state.getSema(), attr, type); in distributeObjCPointerTypeAttr()
640 diagnoseBadTypeAttribute(state.getSema(), attr, type); in distributeFunctionTypeAttr()
899 Sema &S = state.getSema(); in ConvertDeclSpecToType()
2801 Sema &S = state.getSema(); in inferARCWriteback()
3020 Sema &S = state.getSema(); in InventTemplateParameter()
3126 Sema &SemaRef = state.getSema(); in GetDeclSpecTypeForDeclarator()
4269 Sema &S = state.getSema(); in GetFullTypeForDeclarator()
5331 if (state.getSema().getLangOpts().OpenCLCPlusPlus && IsClassMember()) { in GetFullTypeForDeclarator()
[all …]
H A DSemaLookup.cpp303 IDNS = getIDNS(LookupKind, getSema().getLangOpts().CPlusPlus, in configure()
314 getSema().DeclareGlobalNewDelete(); in configure()
325 if (!getSema().Context.BuiltinInfo.isPredefinedLibFunction(BuiltinID)) in configure()
565 QualType T = getSema().Context.getTypeDeclType(TD); in resolveKind()
567 std::make_pair(getSema().Context.getCanonicalType(T), I)); in resolveKind()
587 if (isPreferredLookupResult(getSema(), getLookupKind(), Decls[I], in resolveKind()
613 if (getSema().isEquivalentInternalLinkageDeclaration(HasNonFunction, in resolveKind()
619 if (D->isPlaceholderVar(getSema().getLangOpts()) && in resolveKind()
633 getSema().diagnoseEquivalentInternalLinkageDeclarations( in resolveKind()
1212 QualType ExpectedType = R.getSema().Context.getFunctionType( in LookupDirect()
[all …]
H A DSemaCodeComplete.cpp298 Sema &getSema() const { return SemaRef; } in getSema() function in __anone047e0890111::ResultBuilder
1735 auto ThisType = Results.getSema().getCurrentThisType(); in CodeCompletionDeclConsumer()
1783 return Results.getSema().IsSimplyAccessible(ND, NamingClass, BaseType); in IsAccessible()
2095 Sema &S = Results.getSema(); in AddOverrideResults()
5206 getCompletionPrintingPolicy(Results.getSema()), Builder, P, in AddObjCProperties()
5219 getCompletionPrintingPolicy(Results.getSema()), P, in AddObjCProperties()
5226 getCompletionPrintingPolicy(Results.getSema()), P, BlockLoc, in AddObjCProperties()
5260 PrintingPolicy Policy = getCompletionPrintingPolicy(Results.getSema()); in AddObjCProperties()
7434 if (Results.getSema().getLangOpts().Modules) { in AddObjCTopLevelResults()
7467 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()
672 Sema &getSema() const { return *SemaPtr; } in getSema() function
765 getSema().getLangOpts().AccessControl) in diagnoseAccess()
766 getSema().CheckLookupAccess(*this); in diagnoseAccess()
771 getSema().DiagnoseAmbiguousLookup(*this); in diagnoseAmbiguous()
H A DTemplate.h449 const Sema &getSema() const { return SemaRef; } in getSema() function
/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.cpp454 m_compiler_instance->getSema(), clang::DeclarationName(&ident), in FindDecls()
457 m_compiler_instance->getSema().LookupName( in FindDecls()
459 m_compiler_instance->getSema().getScopeForContext( in FindDecls()
773 instance->getPreprocessor(), instance->getSema(), skipFunctionBodies)); in Create()
H A DClangExpressionParser.cpp1312 m_ast_context->setSema(&m_compiler->getSema()); in ParseInternal()
1335 m_compiler->getSema().addExternalSource(ast_source_wrapper); in ParseInternal()
1343 assert(m_compiler->getSema().getExternalSource() && in ParseInternal()
1349 &m_compiler->getSema()); in ParseInternal()
1350 ParseAST(m_compiler->getSema(), false, false); in ParseInternal()
H A DClangASTSource.h200 clang::Sema *getSema();
H A DCxxModuleHandler.cpp23 m_sema(TypeSystemClang::GetASTContext(target)->getSema()) { in CxxModuleHandler()
H A DClangASTSource.cpp557 clang::Sema *ClangASTSource::getSema() { in getSema() function in ClangASTSource
558 return m_clang_ast_context->getSema(); in getSema()
/freebsd/contrib/llvm-project/clang/lib/Interpreter/
H A DInterpreterValuePrinter.cpp43 getCompilerInstance()->getSema().LookupDestructor(CXXRD); in CompileDtorCall()
158 Sema &S = getCompilerInstance()->getSema(); in ExtractValueFromExpr()
H A DIncrementalParser.cpp31 : S(Instance.getSema()) { in IncrementalParser()
H A DInterpreter.cpp349 getCompilerInstance().getSema().CurContext = nullptr; in ExecuteAction()
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DChainedIncludesSource.cpp176 ParseAST(Clang->getSema()); in createChainedIncludesSource()
H A DInterfaceStubFunctionsConsumer.cpp275 clang::Sema &S = Instance.getSema(); in HandleTranslationUnit()
H A DFrontendActions.cpp610 CI.getSema().TemplateInstCallbacks.push_back( in ExecuteAction()
H A DASTUnit.cpp2383 return serializeUnit(WriterData->Writer, WriterData->Buffer, getSema(), OS); in serialize()
2389 return serializeUnit(Writer, Buffer, getSema(), OS); in serialize()
H A DFrontendAction.cpp1341 ParseAST(CI.getSema(), CI.getFrontendOpts().ShowStats, in ExecuteAction()
/freebsd/contrib/llvm-project/clang/include/clang/Frontend/
H A DASTUnit.h471 Sema &getSema() const { in getSema() function
H A DCompilerInstance.h547 Sema &getSema() const { in getSema() function
/freebsd/contrib/llvm-project/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.h176 clang::Sema *getSema() { return m_sema; } in getSema() function
/freebsd/contrib/llvm-project/clang/include/clang/Serialization/
H A DASTReader.h2585 Sema *getSema() { return SemaObj; } in getSema() function

12