reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/Sema/SemaAttr.cpp
   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);
  315     AlignmentVal = PackStack.CurrentValue;
  328     if (PackStack.Stack.empty())
  332   PackStack.Act(PragmaLoc, Action, SlotLabel, AlignmentVal);
  338     SourceLocation PrevLocation = PackStack.CurrentPragmaLocation;
  345         PackStack.hasValue() &&
  349         {PackStack.CurrentValue,
  350          PackStack.hasValue() ? PrevLocation : SourceLocation(),
  363   if (PrevPackState.CurrentValue != PackStack.CurrentValue) {
  365     Diag(PackStack.CurrentPragmaLocation, diag::note_pragma_pack_here);
  370   if (PackStack.Stack.empty())
  373   for (const auto &StackSlot : llvm::reverse(PackStack.Stack)) {
  377     if (IsInnermost && PackStack.CurrentValue == PackStack.DefaultValue) {
  377     if (IsInnermost && PackStack.CurrentValue == PackStack.DefaultValue) {
  378       DiagnosticBuilder DB = Diag(PackStack.CurrentPragmaLocation,
  381           PackStack.CurrentPragmaLocation, tok::l_paren, SourceMgr, LangOpts,
tools/clang/lib/Serialization/ASTReader.cpp
 8348       assert(PragmaPackStack.front().Value == SemaObj->PackStack.DefaultValue &&
 8350       SemaObj->PackStack.Stack.emplace_back(
 8351           PragmaPackStack.front().SlotLabel, SemaObj->PackStack.CurrentValue,
 8352           SemaObj->PackStack.CurrentPragmaLocation,
 8358       SemaObj->PackStack.Stack.emplace_back(Entry.SlotLabel, Entry.Value,
 8361       assert(*PragmaPackCurrentValue == SemaObj->PackStack.DefaultValue &&
 8365       SemaObj->PackStack.CurrentValue = *PragmaPackCurrentValue;
 8366       SemaObj->PackStack.CurrentPragmaLocation = PragmaPackCurrentLocation;
tools/clang/lib/Serialization/ASTWriter.cpp
 4508   Record.push_back(SemaRef.PackStack.CurrentValue);
 4509   AddSourceLocation(SemaRef.PackStack.CurrentPragmaLocation, Record);
 4510   Record.push_back(SemaRef.PackStack.Stack.size());
 4511   for (const auto &StackEntry : SemaRef.PackStack.Stack) {