mirror of
https://github.com/intel/llvm.git
synced 2026-02-02 02:00:03 +08:00
Error directive is allowed in both declared and executable contexts. The function ActOnOpenMPAtClause is called in both places during the parsers. Adding a param "bool InExContext" to identify context which is used to emit error massage. Differential Revision: https://reviews.llvm.org/D137851