[PATCH] D156185: [clang][ConstExprEmitter] handle ArrayToPointerDecay ImplicitCastExpr of StringLiterals
Eli Friedman via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Jul 24 16:39:02 PDT 2023
efriedma added a comment.
> so if you were concerned with arrays of string literals, we need this patch.
Ohhh.... that's not what I meant by StringLiterals. I meant cases where the string literal is an rvalue, like `char foo[100000] = "x";`. If it's an lvalue, we go through ConstantLValueEmitter, which is still reasonably fast.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D156185/new/
https://reviews.llvm.org/D156185
More information about the cfe-commits
mailing list