2 Commits

Author SHA1 Message Date
Mike Rice
c52053bd99 [clang] Fix buildbot failure in delayed-template-with-pragma.cpp
Use captured values to match loop metadata.
2022-11-29 11:53:37 -08:00
Mike Rice
530eb263c0 [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
2022-11-29 10:51:11 -08:00