[all-commits] [llvm/llvm-project] d27fb5: [Serialization] Add support for (de)serializing #p...

Dustin L. Howett via All-commits all-commits at lists.llvm.org
Tue Feb 7 11:41:25 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d27fb5efc5f2086fa157e7d836b61bae4d5f3734
      https://github.com/llvm/llvm-project/commit/d27fb5efc5f2086fa157e7d836b61bae4d5f3734
  Author: Dustin Howett <duhowett at microsoft.com>
  Date:   2023-02-07 (Tue, 07 Feb 2023)

  Changed paths:
    M clang/include/clang/Sema/Sema.h
    M clang/include/clang/Serialization/ASTReader.h
    M clang/lib/Parse/ParsePragma.cpp
    M clang/lib/Serialization/ASTReader.cpp
    M clang/lib/Serialization/ASTWriter.cpp
    A clang/test/PCH/delayed-template-with-pragma-pack.cpp

  Log Message:
  -----------
  [Serialization] Add support for (de)serializing #pragma pack

Serialization of tokens is required when PCH is used with late parsed
templates, including annotation tokens used for pragmas.

This patch implements the serialization for annot_pragma_pack.

Fixes https://github.com/llvm/llvm-project/issues/60543

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




More information about the All-commits mailing list