[PATCH] D93901: [NFC] Renaming PackStack to AlignPackStack

Xiangling Liao via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 29 07:41:24 PST 2020


Xiangling_L created this revision.
Xiangling_L added reviewers: jasonliu, hubert.reinterpretcast, efriedma, jyknight, aaron.ballman.
Xiangling_L requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

This patch renames `PackStack` and related variable name to also contain `align` across Clang. As it is right now, clang already uses one stack to record those information from both `#pragma align` and `#pragma pack`. Leave it as PackStack is confusing, and people could actually ignore the `#pragma align` when developing with `PackStack`.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D93901

Files:
  clang/include/clang/Sema/Sema.h
  clang/include/clang/Serialization/ASTBitCodes.h
  clang/include/clang/Serialization/ASTReader.h
  clang/lib/Sema/Sema.cpp
  clang/lib/Sema/SemaAttr.cpp
  clang/lib/Serialization/ASTReader.cpp
  clang/lib/Serialization/ASTWriter.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D93901.313968.patch
Type: text/x-patch
Size: 18895 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20201229/e2b93c10/attachment-0001.bin>


More information about the cfe-commits mailing list