llvm-project
2da4bbc1 - [clang] Fix compile-time regression from variably modified type checks (#244352)

Commit
1 day ago
[clang] Fix compile-time regression from variably modified type checks (#244352) Follow-up to #229697, which caused a compile-time regression even on code without VLAs. Check `getCanonicalType()->isVariablyModifiedType()` in the callers first, and push the context in `sizeof` only for variably modified types. No functional change intended.
Author
Parents
Loading