Home
last modified time | relevance | path

Searched refs:Sema (Results 1 – 25 of 206) sorted by relevance

123456789

/src/contrib/llvm-project/clang/include/clang/Sema/
H A DEnterExpressionEvaluationContext.h20 Sema &Actions;
25 Sema &Actions, Sema::ExpressionEvaluationContext NewContext,
27 Sema::ExpressionEvaluationContextRecord::ExpressionKind ExprContext =
28 Sema::ExpressionEvaluationContextRecord::EK_Other,
36 Sema &Actions, Sema::ExpressionEvaluationContext NewContext,
37 Sema::ReuseLambdaContextDecl_t,
38 Sema::ExpressionEvaluationContextRecord::ExpressionKind ExprContext =
39 Sema::ExpressionEvaluationContextRecord::EK_Other)
42 NewContext, Sema::ReuseLambdaContextDecl, ExprContext); in Actions()
46 EnterExpressionEvaluationContext(Sema &Actions, InitListTag,
[all …]
H A DTemplateInstCallback.h28 virtual void initialize(const Sema &TheSema) = 0;
31 virtual void finalize(const Sema &TheSema) = 0;
34 virtual void atTemplateBegin(const Sema &TheSema,
35 const Sema::CodeSynthesisContext &Inst) = 0;
38 virtual void atTemplateEnd(const Sema &TheSema,
39 const Sema::CodeSynthesisContext &Inst) = 0;
44 const Sema &TheSema) { in initialize()
53 const Sema &TheSema) { in finalize()
62 const Sema &TheSema, in atTemplateBegin()
63 const Sema::CodeSynthesisContext &Inst) { in atTemplateBegin()
[all …]
H A DSemaBase.h34 class Sema; variable
38 SemaBase(Sema &S);
40 Sema &SemaRef;
56 Sema &SemaRef;
60 ImmediateDiagBuilder(DiagnosticBuilder &DB, Sema &SemaRef, unsigned DiagID) in ImmediateDiagBuilder()
62 ImmediateDiagBuilder(DiagnosticBuilder &&DB, Sema &SemaRef, unsigned DiagID) in ImmediateDiagBuilder()
128 const FunctionDecl *Fn, Sema &S);
199 Sema &S;
H A DLookup.h157 Sema &SemaRef, const DeclarationNameInfo &NameInfo,
158 Sema::LookupNameKind LookupKind,
172 Sema &SemaRef, DeclarationName Name, SourceLocation NameLoc,
173 Sema::LookupNameKind LookupKind,
275 Sema::LookupNameKind getLookupKind() const { in getLookupKind()
372 static bool isVisible(Sema &SemaRef, NamedDecl *D);
374 static bool isReachable(Sema &SemaRef, NamedDecl *D);
376 static bool isAcceptable(Sema &SemaRef, NamedDecl *D, in isAcceptable()
377 Sema::AcceptableKind Kind) { in isAcceptable()
378 return Kind == Sema::AcceptableKind::Visible ? isVisible(SemaRef, D) in isAcceptable()
[all …]
/src/contrib/llvm-project/llvm/include/llvm/ADT/
H A DAPFixedPoint.h156 APFixedPoint(const APInt &Val, const FixedPointSemantics &Sema)
157 : Val(Val, !Sema.isSigned()), Sema(Sema) {
158 assert(Val.getBitWidth() == Sema.getWidth() &&
162 APFixedPoint(uint64_t Val, const FixedPointSemantics &Sema)
163 : APFixedPoint(APInt(Sema.getWidth(), Val, Sema.isSigned()), Sema) {}
166 APFixedPoint(const FixedPointSemantics &Sema) : APFixedPoint(0, Sema) {}
168 APSInt getValue() const { return APSInt(Val, !Sema.isSigned()); }
169 inline unsigned getWidth() const { return Sema.getWidth(); }
170 inline unsigned getScale() const { return Sema.getScale(); }
171 int getLsbWeight() const { return Sema.getLsbWeight(); }
[all …]
/src/contrib/llvm-project/clang/lib/AST/
H A DCommentSema.cpp28 Sema::Sema(llvm::BumpPtrAllocator &Allocator, const SourceManager &SourceMgr, in Sema() function in clang::comments::Sema
36 void Sema::setDecl(const Decl *D) { in setDecl()
45 ParagraphComment *Sema::actOnParagraphComment( in actOnParagraphComment()
50 BlockCommandComment *Sema::actOnBlockCommandStart( in actOnBlockCommandStart()
62 void Sema::actOnBlockCommandArgs(BlockCommandComment *Command, in actOnBlockCommandArgs()
67 void Sema::actOnBlockCommandFinish(BlockCommandComment *Command, in actOnBlockCommandFinish()
80 ParamCommandComment *Sema::actOnParamCommandStart( in actOnParamCommandStart()
98 void Sema::checkFunctionDeclVerbatimLine(const BlockCommandComment *Comment) { in checkFunctionDeclVerbatimLine()
131 void Sema::checkContainerDeclVerbatimLine(const BlockCommandComment *Comment) { in checkContainerDeclVerbatimLine()
170 void Sema::checkContainerDecl(const BlockCommandComment *Comment) { in checkContainerDecl()
[all …]
/src/contrib/llvm-project/clang/lib/Sema/
H A DSemaAttr.cpp28 Sema::PragmaStackSentinelRAII::PragmaStackSentinelRAII(Sema &S, in PragmaStackSentinelRAII()
42 Sema::PragmaStackSentinelRAII::~PragmaStackSentinelRAII() { in ~PragmaStackSentinelRAII()
53 void Sema::AddAlignmentAttributesForRecord(RecordDecl *RD) { in AddAlignmentAttributesForRecord()
89 void Sema::AddMsStructLayoutForRecord(RecordDecl *RD) { in AddMsStructLayoutForRecord()
111 void Sema::inferGslPointerAttribute(NamedDecl *ND, in inferGslPointerAttribute()
150 void Sema::inferGslPointerAttribute(TypedefNameDecl *TD) { in inferGslPointerAttribute()
167 void Sema::inferGslOwnerPointerAttribute(CXXRecordDecl *Record) { in inferGslOwnerPointerAttribute()
219 void Sema::inferNullableClassAttribute(CXXRecordDecl *CRD) { in inferNullableClassAttribute()
231 void Sema::ActOnPragmaOptionsAlign(PragmaOptionsAlignKind Kind, in ActOnPragmaOptionsAlign()
233 PragmaMsStackAction Action = Sema::PSK_Reset; in ActOnPragmaOptionsAlign()
[all …]
H A DSemaAccess.cpp37 bool Sema::SetMemberAccessSpecifier(NamedDecl *MemberDecl, in SetMemberAccessSpecifier()
231 const CXXRecordDecl *resolveInstanceContext(Sema &S) const { in resolveInstanceContext()
351 static bool MightInstantiateTo(Sema &S, DeclContext *Context, in MightInstantiateTo()
371 static bool MightInstantiateTo(Sema &S, CanQualType Context, CanQualType Friend) { in MightInstantiateTo()
382 static bool MightInstantiateTo(Sema &S, in MightInstantiateTo()
420 static bool MightInstantiateTo(Sema &S, in MightInstantiateTo()
428 static AccessResult MatchesFriend(Sema &S, in MatchesFriend()
444 static AccessResult MatchesFriend(Sema &S, in MatchesFriend()
459 static AccessResult MatchesFriend(Sema &S, in MatchesFriend()
512 static AccessResult MatchesFriend(Sema &S, in MatchesFriend()
[all …]
H A DSema.cpp83 SourceLocation Sema::getLocForEndOfToken(SourceLocation Loc, unsigned Offset) { in getLocForEndOfToken()
87 ModuleLoader &Sema::getModuleLoader() const { return PP.getModuleLoader(); } in getModuleLoader()
90 Sema::getDarwinSDKInfoForAvailabilityChecking(SourceLocation Loc, in getDarwinSDKInfoForAvailabilityChecking()
101 DarwinSDKInfo *Sema::getDarwinSDKInfoForAvailabilityChecking() { in getDarwinSDKInfoForAvailabilityChecking()
117 IdentifierInfo *Sema::InventAbbreviatedTemplateParameterTypeName( in InventAbbreviatedTemplateParameterTypeName()
131 PrintingPolicy Sema::getPrintingPolicy(const ASTContext &Context, in getPrintingPolicy()
151 void Sema::ActOnTranslationUnitScope(Scope *S) { in ActOnTranslationUnitScope()
160 Sema *S = nullptr;
165 void set(Sema &S) { this->S = &S; } in set()
187 Sema::PragmaAlignPackDiagnoseKind::NonDefaultStateAtInclude, in FileChanged()
[all …]
H A DSemaConcept.cpp70 ExprResult recreateBinOp(Sema &SemaRef, ExprResult LHS) const { in recreateBinOp()
74 ExprResult recreateBinOp(Sema &SemaRef, ExprResult LHS, in recreateBinOp()
92 bool Sema::CheckConstraintExpression(const Expr *ConstraintExpression, in CheckConstraintExpression()
164 Sema &SemaRef;
166 SatisfactionStackRAII(Sema &SemaRef, const NamedDecl *ND, in SatisfactionStackRAII()
183 calculateConstraintSatisfaction(Sema &S, const Expr *ConstraintExpr,
189 calculateConstraintSatisfaction(Sema &S, const Expr *LHS, in calculateConstraintSatisfaction()
254 calculateConstraintSatisfaction(Sema &S, const CXXFoldExpr *FE, in calculateConstraintSatisfaction()
279 Sema::ArgumentPackSubstitutionIndexRAII SubstIndex(S, I); in calculateConstraintSatisfaction()
326 calculateConstraintSatisfaction(Sema &S, const Expr *ConstraintExpr, in calculateConstraintSatisfaction()
[all …]
H A DSemaLookup.cpp98 Sema &SemaRef;
106 UnqualUsingDirectiveSet(Sema &SemaRef) : SemaRef(SemaRef) {} in UnqualUsingDirectiveSet()
214 static inline unsigned getIDNS(Sema::LookupNameKind NameKind, in getIDNS()
219 case Sema::LookupObjCImplicitSelfParam: in getIDNS()
220 case Sema::LookupOrdinaryName: in getIDNS()
221 case Sema::LookupRedeclarationWithLinkage: in getIDNS()
222 case Sema::LookupLocalFriendName: in getIDNS()
223 case Sema::LookupDestructorName: in getIDNS()
234 case Sema::LookupOperatorName: in getIDNS()
241 case Sema::LookupTagName: in getIDNS()
[all …]
H A DSemaCoroutine.cpp34 static LookupResult lookupMember(Sema &S, const char *Name, CXXRecordDecl *RD, in lookupMember()
37 LookupResult LR(S, DN, Loc, Sema::LookupMemberName); in lookupMember()
45 static bool lookupMember(Sema &S, const char *Name, CXXRecordDecl *RD, in lookupMember()
54 static QualType lookupPromiseType(Sema &S, const FunctionDecl *FD, in lookupPromiseType()
107 Sema::LookupOrdinaryName); in lookupPromiseType()
141 static QualType lookupCoroutineHandleType(Sema &S, QualType PromiseType, in lookupCoroutineHandleType()
150 Loc, Sema::LookupOrdinaryName); in lookupCoroutineHandleType()
184 static bool isValidCoroutineContext(Sema &S, SourceLocation Loc, in isValidCoroutineContext()
252 ExprResult Sema::BuildOperatorCoawaitCall(SourceLocation Loc, Expr *E, in BuildOperatorCoawaitCall()
259 static ExprResult buildOperatorCoawaitCall(Sema &SemaRef, Scope *S, in buildOperatorCoawaitCall()
[all …]
H A DSemaDeclAttr.cpp90 SourceLocation Sema::getAttrLoc(const ParsedAttr &AL) { return AL.getLoc(); } in getAttrLoc()
96 static bool checkPositiveIntArgument(Sema &S, const AttrInfo &AI, const Expr *Expr, in checkPositiveIntArgument()
114 bool Sema::checkStringLiteralArgumentAttr(const AttributeCommonInfo &CI, in checkStringLiteralArgumentAttr()
131 bool Sema::checkStringLiteralArgumentAttr(const ParsedAttr &AL, unsigned ArgNum, in checkStringLiteralArgumentAttr()
171 static bool threadSafetyCheckIsSmartPointer(Sema &S, const RecordType* RT) { in threadSafetyCheckIsSmartPointer()
207 static bool threadSafetyCheckIsPointer(Sema &S, const Decl *D, in threadSafetyCheckIsPointer()
258 static bool checkRecordTypeForCapability(Sema &S, QualType Ty) { in checkRecordTypeForCapability()
288 static bool typeHasCapability(Sema &S, QualType Ty) { in typeHasCapability()
298 static bool isCapabilityExpr(Sema &S, const Expr *Ex) { in isCapabilityExpr()
328 static void checkAttrArgsAreCapabilityObjs(Sema &S, Decl *D, in checkAttrArgsAreCapabilityObjs()
[all …]
H A DSemaStmt.cpp52 StmtResult Sema::ActOnExprStmt(ExprResult FE, bool DiscardedValue) { in ActOnExprStmt()
69 StmtResult Sema::ActOnExprStmtError() { in ActOnExprStmtError()
74 StmtResult Sema::ActOnNullStmt(SourceLocation SemiLoc, in ActOnNullStmt()
79 StmtResult Sema::ActOnDeclStmt(DeclGroupPtrTy dg, SourceLocation StartLoc, in ActOnDeclStmt()
89 void Sema::ActOnForEachDeclStmt(DeclGroupPtrTy dg) { in ActOnForEachDeclStmt()
135 static bool DiagnoseUnusedComparison(Sema &S, const Expr *E) { in DiagnoseUnusedComparison()
206 static bool DiagnoseNoDiscard(Sema &S, const WarnUnusedResultAttr *A, in DiagnoseNoDiscard()
225 void Sema::DiagnoseUnusedExprResult(const Stmt *S, unsigned DiagID) { in DiagnoseUnusedExprResult()
395 void Sema::ActOnStartOfCompoundStmt(bool IsStmtExpr) { in ActOnStartOfCompoundStmt()
399 void Sema::ActOnAfterCompoundStatementLeadingPragmas() { in ActOnAfterCompoundStatementLeadingPragmas()
[all …]
H A DSemaDeclCXX.cpp76 Sema &S;
80 CheckDefaultArgumentVisitor(Sema &S, const Expr *DefaultArg) in CheckDefaultArgumentVisitor()
186 Sema::ImplicitExceptionSpecification::CalledDecl(SourceLocation CallLoc, in CalledDecl()
254 void Sema::ImplicitExceptionSpecification::CalledStmt(Stmt *S) { in CalledStmt()
283 ExprResult Sema::ConvertParamDefaultArgument(ParmVarDecl *Param, Expr *Arg, in ConvertParamDefaultArgument()
311 void Sema::SetParamDefaultArgument(ParmVarDecl *Param, Expr *Arg, in SetParamDefaultArgument()
330 Sema::ActOnParamDefaultArgument(Decl *param, SourceLocation EqualLoc, in ActOnParamDefaultArgument()
374 void Sema::ActOnParamUnparsedDefaultArgument(Decl *param, in ActOnParamUnparsedDefaultArgument()
385 void Sema::ActOnParamDefaultArgumentError(Decl *param, SourceLocation EqualLoc, in ActOnParamDefaultArgumentError()
404 void Sema::CheckExtraCXXDefaultArguments(Declarator &D) { in CheckExtraCXXDefaultArguments()
[all …]
H A DSemaTemplateVariadic.cpp293 bool Sema::isUnexpandedParameterPackPermitted() { in isUnexpandedParameterPackPermitted()
303 Sema::DiagnoseUnexpandedParameterPacks(SourceLocation Loc, in DiagnoseUnexpandedParameterPacks()
393 bool Sema::DiagnoseUnexpandedParameterPack(SourceLocation Loc, in DiagnoseUnexpandedParameterPack()
409 bool Sema::DiagnoseUnexpandedParameterPack(Expr *E, in DiagnoseUnexpandedParameterPack()
430 bool Sema::DiagnoseUnexpandedParameterPackInRequiresExpr(RequiresExpr *RE) { in DiagnoseUnexpandedParameterPackInRequiresExpr()
453 bool Sema::DiagnoseUnexpandedParameterPack(const CXXScopeSpec &SS, in DiagnoseUnexpandedParameterPack()
470 bool Sema::DiagnoseUnexpandedParameterPack(const DeclarationNameInfo &NameInfo, in DiagnoseUnexpandedParameterPack()
506 bool Sema::DiagnoseUnexpandedParameterPack(SourceLocation Loc, in DiagnoseUnexpandedParameterPack()
520 bool Sema::DiagnoseUnexpandedParameterPack(TemplateArgumentLoc Arg, in DiagnoseUnexpandedParameterPack()
533 void Sema::collectUnexpandedParameterPacks(TemplateArgument Arg, in collectUnexpandedParameterPacks()
[all …]
H A DSemaTemplateInstantiate.cpp124 getEnclosingTypeAliasTemplateDecl(Sema &SemaRef) { in getEnclosingTypeAliasTemplateDecl()
126 if (CSC.Kind != Sema::CodeSynthesisContext::SynthesisKind:: in getEnclosingTypeAliasTemplateDecl()
269 Response HandleFunction(Sema &SemaRef, const FunctionDecl *Function, in HandleFunction()
385 Response HandleRecordDecl(Sema &SemaRef, const CXXRecordDecl *Rec, in HandleRecordDecl()
466 MultiLevelTemplateArgumentList Sema::getTemplateInstantiationArgs( in getTemplateInstantiationArgs()
544 bool Sema::CodeSynthesisContext::isInstantiationRecord() const { in isInstantiationRecord()
584 Sema::InstantiatingTemplate::InstantiatingTemplate( in InstantiatingTemplate()
585 Sema &SemaRef, CodeSynthesisContext::SynthesisKind Kind, in InstantiatingTemplate()
619 Sema::InstantiatingTemplate::InstantiatingTemplate( in InstantiatingTemplate()
620 Sema &SemaRef, SourceLocation PointOfInstantiation, Decl *Entity, in InstantiatingTemplate()
[all …]
H A DSemaStmtAttr.cpp28 static Attr *handleFallThroughAttr(Sema &S, Stmt *St, const ParsedAttr &A, in handleFallThroughAttr()
55 static Attr *handleSuppressAttr(Sema &S, Stmt *St, const ParsedAttr &A, in handleSuppressAttr()
78 static Attr *handleLoopHintAttr(Sema &S, Stmt *St, const ParsedAttr &A, in handleLoopHintAttr()
200 CallExprFinder(Sema &S, const Stmt *St) : Inherited(S.Context) { Visit(St); } in CallExprFinder()
219 static Attr *handleNoMergeAttr(Sema &S, Stmt *St, const ParsedAttr &A, in handleNoMergeAttr()
234 static bool CheckStmtInlineAttr(Sema &SemaRef, const Stmt *OrigSt, in CheckStmtInlineAttr()
276 bool Sema::CheckNoInlineAttr(const Stmt *OrigSt, const Stmt *CurSt, in CheckNoInlineAttr()
281 bool Sema::CheckAlwaysInlineAttr(const Stmt *OrigSt, const Stmt *CurSt, in CheckAlwaysInlineAttr()
286 static Attr *handleNoInlineAttr(Sema &S, Stmt *St, const ParsedAttr &A, in handleNoInlineAttr()
301 static Attr *handleAlwaysInlineAttr(Sema &S, Stmt *St, const ParsedAttr &A, in handleAlwaysInlineAttr()
[all …]
H A DSemaModule.cpp25 static void checkModuleImportContext(Sema &S, Module *M, in checkModuleImportContext()
162 Sema::DeclGroupPtrTy
163 Sema::ActOnGlobalModuleFragmentDecl(SourceLocation ModuleLoc) { in ActOnGlobalModuleFragmentDecl()
184 void Sema::HandleStartOfHeaderUnit() { in HandleStartOfHeaderUnit()
226 static bool DiagReservedModuleName(Sema &S, const IdentifierInfo *II, in DiagReservedModuleName()
258 Sema::DeclGroupPtrTy
259 Sema::ActOnModuleDecl(SourceLocation StartLoc, SourceLocation ModuleLoc, in ActOnModuleDecl()
511 Sema::DeclGroupPtrTy
512 Sema::ActOnPrivateModuleFragmentDecl(SourceLocation ModuleLoc, in ActOnPrivateModuleFragmentDecl()
574 DeclResult Sema::ActOnModuleImport(SourceLocation StartLoc, in ActOnModuleImport()
[all …]
/src/contrib/llvm-project/llvm/lib/Support/
H A DAPFixedPoint.cpp119 APFixedPoint APFixedPoint::getMax(const FixedPointSemantics &Sema) { in getMax() argument
120 bool IsUnsigned = !Sema.isSigned(); in getMax()
121 auto Val = APSInt::getMaxValue(Sema.getWidth(), IsUnsigned); in getMax()
122 if (IsUnsigned && Sema.hasUnsignedPadding()) in getMax()
124 return APFixedPoint(Val, Sema); in getMax()
127 APFixedPoint APFixedPoint::getMin(const FixedPointSemantics &Sema) { in getMin() argument
128 auto Val = APSInt::getMinValue(Sema.getWidth(), !Sema.isSigned()); in getMin()
129 return APFixedPoint(Val, Sema); in getMin()
132 APFixedPoint APFixedPoint::getEpsilon(const FixedPointSemantics &Sema) { in getEpsilon() argument
133 APSInt Val(Sema.getWidth(), !Sema.isSigned()); in getEpsilon()
[all …]
/src/contrib/llvm-project/clang/include/clang/ASTMatchers/Dynamic/
H A DParser.h67 class Sema {
69 virtual ~Sema();
137 class RegistrySema : public Parser::Sema {
184 parseMatcherExpression(StringRef &MatcherCode, Sema *S,
187 parseMatcherExpression(StringRef &MatcherCode, Sema *S, Diagnostics *Error) { in parseMatcherExpression()
207 static bool parseExpression(StringRef &Code, Sema *S,
210 static bool parseExpression(StringRef &Code, Sema *S, VariantValue *Value, in parseExpression()
231 completeExpression(StringRef &Code, unsigned CompletionOffset, Sema *S,
234 completeExpression(StringRef &Code, unsigned CompletionOffset, Sema *S) { in completeExpression()
247 Parser(CodeTokenizer *Tokenizer, Sema *S,
[all …]
/src/contrib/llvm-project/clang/lib/Interpreter/
H A DInterpreterUtils.h39 Expr *CStyleCastPtrExpr(Sema &S, QualType Ty, Expr *E);
41 Expr *CStyleCastPtrExpr(Sema &S, QualType Ty, uintptr_t Ptr);
43 Sema::DeclGroupPtrTy CreateDGPtrFrom(Sema &S, Decl *D);
45 NamespaceDecl *LookupNamespace(Sema &S, llvm::StringRef Name,
48 NamedDecl *LookupNamed(Sema &S, llvm::StringRef Name,
H A DInterpreterUtils.cpp22 Expr *CStyleCastPtrExpr(Sema &S, QualType Ty, Expr *E) { in CStyleCastPtrExpr()
34 Expr *CStyleCastPtrExpr(Sema &S, QualType Ty, uintptr_t Ptr) { in CStyleCastPtrExpr()
39 Sema::DeclGroupPtrTy CreateDGPtrFrom(Sema &S, Decl *D) { in CreateDGPtrFrom()
42 Sema::DeclGroupPtrTy DeclGroupPtr = S.BuildDeclaratorGroup(DeclsInGroup); in CreateDGPtrFrom()
46 NamespaceDecl *LookupNamespace(Sema &S, llvm::StringRef Name, in LookupNamespace()
50 Sema::LookupNestedNameSpecifierName); in LookupNamespace()
71 NamedDecl *LookupNamed(Sema &S, llvm::StringRef Name, in LookupNamed()
74 LookupResult R(S, DName, SourceLocation(), Sema::LookupOrdinaryName, in LookupNamed()
/src/lib/clang/libclang/
H A DMakefile562 SRCS_MIN+= Sema/AnalysisBasedWarnings.cpp
563 SRCS_MIN+= Sema/CheckExprLifetime.cpp
564 SRCS_MIN+= Sema/CodeCompleteConsumer.cpp
565 SRCS_MIN+= Sema/DeclSpec.cpp
566 SRCS_MIN+= Sema/DelayedDiagnostic.cpp
567 SRCS_MIN+= Sema/HLSLExternalSemaSource.cpp
568 SRCS_MIN+= Sema/IdentifierResolver.cpp
569 SRCS_MIN+= Sema/JumpDiagnostics.cpp
570 SRCS_MIN+= Sema/MultiplexExternalSemaSource.cpp
571 SRCS_MIN+= Sema/ParsedAttr.cpp
[all …]
/src/contrib/llvm-project/clang/lib/Parse/
H A DParser.cpp34 Sema &S;
37 explicit ActionCommentHandler(Sema &S) : S(S) { } in ActionCommentHandler()
54 Parser::Parser(Preprocessor &pp, Sema &actions, bool skipFunctionBodies) in Parser()
602 Sema::ModuleImportState &ImportState) { in ParseFirstTopLevelDecl()
607 ImportState = Sema::ModuleImportState::FirstDecl; in ParseFirstTopLevelDecl()
629 Sema::ModuleImportState &ImportState) { in ParseTopLevelDecl()
705 ImportState = Sema::ModuleImportState::NotACXX20Module; in ParseTopLevelDecl()
713 ImportState = Sema::ModuleImportState::NotACXX20Module; in ParseTopLevelDecl()
767 if (ImportState == Sema::ModuleImportState::FirstDecl) in ParseTopLevelDecl()
769 ImportState = Sema::ModuleImportState::NotACXX20Module; in ParseTopLevelDecl()
[all …]

123456789