The error-bit was missing, and the unexpandedpack bit seemed to be
set incorrectly.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Event Timeline
Existing logic is odd. Error propagation change is definitely correct, and I suspect the other change is too, but let's ask just in case.
(The whole DependentIntExtType landed after the dependence refactoring, so this wasn't something we mangled in the refactoring)
clang/lib/AST/Type.cpp | ||
---|---|---|
356 | @erichkeane was there any intent behind translating "num bits contains unexpanded pack" into "extint is variably modified", or was this an oversight? (My guess is the latter, just want to double check) |
clang/lib/AST/Type.cpp | ||
---|---|---|
356 | Ah, I think this was a result of a messy/not completely understood rebase. The 'toTypeDependence' parts appeared in the middle of my review, so I must have just merged the change incorrectly. This patch seems like the right thing. Thanks! |
@erichkeane was there any intent behind translating "num bits contains unexpanded pack" into "extint is variably modified", or was this an oversight? (My guess is the latter, just want to double check)