[PATCH] D126479: [Clang] Allow 'Complex float __attribute__((mode(HC)))'

Jolanta Jensen via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue May 31 07:23:47 PDT 2022


jolanta.jensen added inline comments.


================
Comment at: clang/test/Sema/attr-mode.c:40
 
+typedef _Complex float c16a __attribute((mode(HC)));
+int c16a_test[sizeof(c16a) == 4 ? 1 : -1];
----------------
mgabka wrote:
> shouldn't we have here and in the line below : "// expected-no-diagnostics" ?
I don't think we can have both expected-error and expected-no-diagnostic in the same file.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D126479



More information about the cfe-commits mailing list