Lines Matching refs:Sema
27 Sema::PragmaStackSentinelRAII::PragmaStackSentinelRAII(Sema &S, in PragmaStackSentinelRAII()
40 Sema::PragmaStackSentinelRAII::~PragmaStackSentinelRAII() { in ~PragmaStackSentinelRAII()
50 void Sema::AddAlignmentAttributesForRecord(RecordDecl *RD) { in AddAlignmentAttributesForRecord()
57 if (Alignment == Sema::kMac68kAlignmentSentinel) in AddAlignmentAttributesForRecord()
76 void Sema::AddMsStructLayoutForRecord(RecordDecl *RD) { in AddMsStructLayoutForRecord()
98 void Sema::inferGslPointerAttribute(NamedDecl *ND, in inferGslPointerAttribute()
137 void Sema::inferGslPointerAttribute(TypedefNameDecl *TD) { in inferGslPointerAttribute()
154 void Sema::inferGslOwnerPointerAttribute(CXXRecordDecl *Record) { in inferGslOwnerPointerAttribute()
205 void Sema::ActOnPragmaOptionsAlign(PragmaOptionsAlignKind Kind, in ActOnPragmaOptionsAlign()
207 PragmaMsStackAction Action = Sema::PSK_Reset; in ActOnPragmaOptionsAlign()
216 Action = Sema::PSK_Push_Set; in ActOnPragmaOptionsAlign()
223 Action = Sema::PSK_Push_Set; in ActOnPragmaOptionsAlign()
233 Action = Sema::PSK_Push_Set; in ActOnPragmaOptionsAlign()
234 Alignment = Sema::kMac68kAlignmentSentinel; in ActOnPragmaOptionsAlign()
240 Action = Sema::PSK_Pop; in ActOnPragmaOptionsAlign()
243 Action = Sema::PSK_Reset; in ActOnPragmaOptionsAlign()
256 void Sema::ActOnPragmaClangSection(SourceLocation PragmaLoc, PragmaClangSectionAction Action, in ActOnPragmaClangSection()
296 void Sema::ActOnPragmaPack(SourceLocation PragmaLoc, PragmaMsStackAction Action, in ActOnPragmaPack()
316 if (Action == Sema::PSK_Show) { in ActOnPragmaPack()
323 if (AlignmentVal == Sema::kMac68kAlignmentSentinel) in ActOnPragmaPack()
330 if (Action & Sema::PSK_Pop) { in ActOnPragmaPack()
340 void Sema::DiagnoseNonDefaultPragmaPack(PragmaPackDiagnoseKind Kind, in DiagnoseNonDefaultPragmaPack()
374 void Sema::DiagnoseUnterminatedPragmaPack() { in DiagnoseUnterminatedPragmaPack()
395 void Sema::ActOnPragmaMSStruct(PragmaMSStructKind Kind) { in ActOnPragmaMSStruct()
399 void Sema::ActOnPragmaMSComment(SourceLocation CommentLoc, in ActOnPragmaMSComment()
407 void Sema::ActOnPragmaDetectMismatch(SourceLocation Loc, StringRef Name, in ActOnPragmaDetectMismatch()
415 void Sema::ActOnPragmaFloatControl(SourceLocation Loc, in ActOnPragmaFloatControl()
453 FpPragmaStack.Act(Loc, Sema::PSK_Push_Set, StringRef(), NewFPFeatures); in ActOnPragmaFloatControl()
468 void Sema::ActOnPragmaMSPointersToMembers( in ActOnPragmaMSPointersToMembers()
475 void Sema::ActOnPragmaMSVtorDisp(PragmaMsStackAction Action, in ActOnPragmaMSVtorDisp()
484 bool Sema::UnifySection(StringRef SectionName, in UnifySection()
514 bool Sema::UnifySection(StringRef SectionName, in UnifySection()
539 void Sema::ActOnPragmaMSSeg(SourceLocation PragmaLocation, in ActOnPragmaMSSeg()
566 void Sema::ActOnPragmaMSSection(SourceLocation PragmaLocation, in ActOnPragmaMSSection()
571 void Sema::ActOnPragmaMSInitSeg(SourceLocation PragmaLocation, in ActOnPragmaMSInitSeg()
580 void Sema::ActOnPragmaUnused(const Token &IdTok, Scope *curScope, in ActOnPragmaUnused()
609 void Sema::AddCFAuditedAttribute(Decl *D) { in AddCFAuditedAttribute()
654 CharSourceRange replacementRangeForListElement(const Sema &S, in replacementRangeForListElement()
680 void Sema::ActOnPragmaAttributeAttribute( in ActOnPragmaAttributeAttribute()
792 void Sema::ActOnPragmaAttributeEmptyPush(SourceLocation PragmaLoc, in ActOnPragmaAttributeEmptyPush()
799 void Sema::ActOnPragmaAttributePop(SourceLocation PragmaLoc, in ActOnPragmaAttributePop()
834 void Sema::AddPragmaAttributes(Scope *S, Decl *D) { in AddPragmaAttributes()
864 void Sema::PrintPragmaAttributeInstantiationPoint() { in PrintPragmaAttributeInstantiationPoint()
870 void Sema::DiagnoseUnterminatedPragmaAttribute() { in DiagnoseUnterminatedPragmaAttribute()
876 void Sema::ActOnPragmaOptimize(bool On, SourceLocation PragmaLoc) { in ActOnPragmaOptimize()
883 void Sema::AddRangeBasedOptnone(FunctionDecl *FD) { in AddRangeBasedOptnone()
890 void Sema::AddOptnoneAttributeIfNoConflicts(FunctionDecl *FD, in AddOptnoneAttributeIfNoConflicts()
907 void Sema::AddPushedVisibilityAttribute(Decl *D) { in AddPushedVisibilityAttribute()
927 void Sema::FreeVisContext() { in FreeVisContext()
932 static void PushPragmaVisibility(Sema &S, unsigned type, SourceLocation loc) { in PushPragmaVisibility()
941 void Sema::ActOnPragmaVisibility(const IdentifierInfo* VisType, in ActOnPragmaVisibility()
956 void Sema::ActOnPragmaFPContract(SourceLocation Loc, in ActOnPragmaFPContract()
972 FpPragmaStack.Act(Loc, Sema::PSK_Set, StringRef(), NewFPFeatures); in ActOnPragmaFPContract()
976 void Sema::ActOnPragmaFPReassociate(SourceLocation Loc, bool IsEnabled) { in ActOnPragmaFPReassociate()
983 void Sema::setRoundingMode(SourceLocation Loc, llvm::RoundingMode FPR) { in setRoundingMode()
997 void Sema::setExceptionMode(SourceLocation Loc, in setExceptionMode()
1005 void Sema::ActOnPragmaFEnvAccess(SourceLocation Loc, bool IsEnabled) { in ActOnPragmaFEnvAccess()
1027 void Sema::ActOnPragmaFPExceptions(SourceLocation Loc, in ActOnPragmaFPExceptions()
1032 void Sema::PushNamespaceVisibilityAttr(const VisibilityAttr *Attr, in PushNamespaceVisibilityAttr()
1041 void Sema::PopPragmaVisibility(bool IsNamespaceEnd, SourceLocation EndLoc) { in PopPragmaVisibility()