llvm-project
a5b5208b - [clang] Be careful when choosing "fast path" for initialization with #embed (#99023)

Commit
1 year ago
[clang] Be careful when choosing "fast path" for initialization with #embed (#99023) When #embed appears in an initializer list, we may choose a "fast path" if the target declaration is a char array. We simply initialize it with string literal that contains embedded data. However we need to be careful when checking that we actually can use this "fast path" since char array may be nested in a struct.
Author
Parents
Loading