Fix #63007
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
The change looks reasonable for me, though I'm not experienced in related code. Have you checked that it fixes the non-reduced original example?
clang/lib/Sema/SemaChecking.cpp | ||
---|---|---|
16163 | Can't we just use hasDependentAlignment() which basically does this. I am curious that we don't have to do this check in every location we use getDeclAlign |
clang/lib/Sema/SemaChecking.cpp | ||
---|---|---|
16163 | I missed that method, thanks for point it out. I think we should be doing that check in the other reference in SemaChecking.cpp, but I failed to find a reproducer... |
Can't we just use hasDependentAlignment() which basically does this.
I am curious that we don't have to do this check in every location we use getDeclAlign