We can only use ASTContext::getTypeInfo for complete types.
This fixes the following bugzilla issue: https://bugs.llvm.org/show_bug.cgi?id=50313.
Differential D102569
[clang-tidy] Fix altera-struct-pack-align crash for struct fields with incomplete type jubnzv on May 15 2021, 10:50 PM. Authored by
Details We can only use ASTContext::getTypeInfo for complete types. This fixes the following bugzilla issue: https://bugs.llvm.org/show_bug.cgi?id=50313.
Diff Detail
|