[clang] [clang] Reject character devices in #embed for now (PR #135370)
Aaron Ballman via cfe-commits
cfe-commits at lists.llvm.org
Mon Apr 14 06:16:13 PDT 2025
================
@@ -458,6 +458,8 @@ def warn_compat_pp_embed_directive : Warning<
InGroup<CPre23Compat>, DefaultIgnore;
def err_pp_embed_dup_params : Error<
"cannot specify parameter '%0' twice in the same '#embed' directive">;
+def err_pp_embed_device_file : Error<
+ "device files are not yet supported by '#embed' directive">;
----------------
AaronBallman wrote:
It's the intent of the feature to work with device files (these examples come from the original paper), so I think "yet" sets the correct expectations.
https://github.com/llvm/llvm-project/pull/135370
More information about the cfe-commits
mailing list