erichkeane added inline comments.
================
Comment at: clang/include/clang/Basic/DiagnosticParseKinds.td:1336
+ "%select{invalid|missing}0 option%select{ %1|}0; expected contract or
reassoc">;
+def err_pragma_fp_contract_invalid_argument : Error<
+ "unexpected argument '%0' to '#pragma clang fp contract'; "
----------------
I think we'd want this combined with the one below. You can use a %select to
enable/disable 'fast'. Something like:
"unexpected argument '%0' to '#pragma clang fp %select{contract|OTHERS}1;
expected 'on'%select{, 'fast'|}1 or off"
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D78827/new/
https://reviews.llvm.org/D78827
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits