Lines Matching refs:PackStack
52 if (!PackStack.CurrentValue)
56 if (unsigned Alignment = PackStack.CurrentValue) {
69 if (PackedInclude.CurrentPragmaLocation != PackStack.CurrentPragmaLocation)
241 if (PackStack.Stack.empty()) {
242 if (PackStack.CurrentValue) {
253 PackStack.Act(PragmaLoc, Action, StringRef(), Alignment);
322 AlignmentVal = PackStack.CurrentValue;
335 if (PackStack.Stack.empty())
339 PackStack.Act(PragmaLoc, Action, SlotLabel, AlignmentVal);
345 SourceLocation PrevLocation = PackStack.CurrentPragmaLocation;
352 PackStack.hasValue() &&
356 {PackStack.CurrentValue,
357 PackStack.hasValue() ? PrevLocation : SourceLocation(),
370 if (PrevPackState.CurrentValue != PackStack.CurrentValue) {
372 Diag(PackStack.CurrentPragmaLocation, diag::note_pragma_pack_here);
377 if (PackStack.Stack.empty())
380 for (const auto &StackSlot : llvm::reverse(PackStack.Stack)) {
384 if (IsInnermost && PackStack.CurrentValue == PackStack.DefaultValue) {
385 DiagnosticBuilder DB = Diag(PackStack.CurrentPragmaLocation,
388 PackStack.CurrentPragmaLocation, tok::l_paren, SourceMgr, LangOpts,