[all-commits] [llvm/llvm-project] 530eb2: [clang] Add serialization for loop hint annotation...
Mike Rice via All-commits
all-commits at lists.llvm.org
Tue Nov 29 10:56:15 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 530eb263c0ec02fe8d107cbdb41ac6e482514a00
https://github.com/llvm/llvm-project/commit/530eb263c0ec02fe8d107cbdb41ac6e482514a00
Author: Mike Rice <michael.p.rice at intel.com>
Date: 2022-11-29 (Tue, 29 Nov 2022)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Lex/Token.h
M clang/include/clang/Serialization/ASTBitCodes.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.cpp
Log Message:
-----------
[clang] Add serialization for loop hint annotation tokens
When late parsed templates are used with PCH tokens are serialized. The
existing code does not handle annotation tokens which can occur due to
various pragmas.
This patch implements the serialization for annot_pragma_loop_hint.
This also enables use of OpenMP pragmas and #pragma unused which do not
need special serialization of the PtrData field.
Fixes https://github.com/llvm/llvm-project/issues/39504
Differential Revision: https://reviews.llvm.org/D138453
More information about the All-commits
mailing list