We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc85c2a commit 71e007fCopy full SHA for 71e007f
clang/include/clang/AST/Type.h
@@ -3389,7 +3389,7 @@ class ConstantArrayType : public ArrayType {
3389
ATy->getIndexTypeQualifiers().getAsOpaqueValue(), nullptr) {
3390
ConstantArrayTypeBits.HasExternalSize =
3391
ATy->ConstantArrayTypeBits.HasExternalSize;
3392
- if (ConstantArrayTypeBits.HasExternalSize) {
+ if (!ConstantArrayTypeBits.HasExternalSize) {
3393
ConstantArrayTypeBits.SizeWidth = ATy->ConstantArrayTypeBits.SizeWidth;
3394
Size = ATy->Size;
3395
} else
0 commit comments