[PATCH] D152818: [Clang] Fix assertion when pragma FENV_ACCESS is used with a throw function.

John McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 13 10:43:35 PDT 2023


rjmccall added a comment.

I'd guess we're not resetting the pragma state appropriately when instantiating templates.  Expressions should be governed by the pragmas in scope at the point of definition, not at the point of instantiation.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D152818/new/

https://reviews.llvm.org/D152818



More information about the cfe-commits mailing list