[all-commits] [llvm/llvm-project] e97071: [NFC] Renaming PackStack to AlignPackStack

xling-liao via All-commits all-commits at lists.llvm.org
Fri Jan 8 06:15:37 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e97071d7952068bbb5fee7bf9e46f304044d4aee
      https://github.com/llvm/llvm-project/commit/e97071d7952068bbb5fee7bf9e46f304044d4aee
  Author: Xiangling Liao <Xiangling.Liao at ibm.com>
  Date:   2021-01-08 (Fri, 08 Jan 2021)

  Changed paths:
    M clang/include/clang/Sema/Sema.h
    M clang/include/clang/Serialization/ASTBitCodes.h
    M clang/include/clang/Serialization/ASTReader.h
    M clang/lib/Sema/Sema.cpp
    M clang/lib/Sema/SemaAttr.cpp
    M clang/lib/Serialization/ASTReader.cpp
    M clang/lib/Serialization/ASTWriter.cpp
    A clang/test/Sema/Inputs/pragma-align-pack1.h
    A clang/test/Sema/misleading-pragma-align-pack-diagnostics.c

  Log Message:
  -----------
  [NFC] Renaming PackStack to AlignPackStack

This patch renames PackStack and related variable names to also contain align across Clang.
As it is right now, Clang already uses one stack to record the information from both #pragma
align and #pragma pack. Leaving it as PackStack is confusing, and could cause people to
ignore #pragma align when developing code that interacts with PackStack.

Differential Revision: https://reviews.llvm.org/D93901




More information about the All-commits mailing list