[clang] [clang] Inject tokens containing #embed back into token stream (PR #97274)

Mariya Podchishchaeva via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 8 07:16:47 PDT 2024


================
@@ -1018,6 +1018,7 @@ ExprResult Parser::ParseCastExpression(CastParseKind ParseKind,
 
     // primary-expression
   case tok::numeric_constant:
----------------
Fznamznon wrote:

Could you please elaborate which other places you meant? I briefly examined all mentions of `tok::numeric_constant` and `ActOnNumericConstant` in `lib/Parse` and modifying any of these doesn't seem to be reasonable for `#embed` support.

https://github.com/llvm/llvm-project/pull/97274


More information about the cfe-commits mailing list