[PATCH] D79631: #pragma float_control should be permitted at namespace scope

Melanie Blower via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat May 9 09:01:11 PDT 2020


mibintc updated this revision to Diff 263020.
mibintc added a comment.

I corrected the assertion error by propagating usesFPIntrin flag from the template function to the template instantiation and added a test case. Ready for review.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D79631

Files:
  clang/include/clang/Basic/DiagnosticSemaKinds.td
  clang/lib/Sema/SemaAttr.cpp
  clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
  clang/test/CodeGen/fp-floatcontrol-pragma.cpp
  clang/test/Parser/fp-floatcontrol-syntax.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D79631.263020.patch
Type: text/x-patch
Size: 5224 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200509/910e07ee/attachment.bin>


More information about the cfe-commits mailing list