vabridgers

Results comments of vabridgers

mentioned in issue llvm/llvm-bugzilla-archive#50179

I looked into this, and am not able to repro under currently documented build environment. I was able to repro under very particular build/run environments, so I suspect David encountered...

Landed the following commit commit e48f444751cf781c42934b242b81f549da77bad0 Author: Ilya Mirsky Date: Sun Jan 17 18:02:44 2021 -0600 [Sema] Fix -Warray-bounds false negative when casting an out-of-bounds array item Patch by Ilya...

Abandoning https://reviews.llvm.org/D77507, thanks for the fix.

I simplified the case a little more, this case exposes the problem (same assertion): {R"cpp( #define N 42 #define M1(a1) foo(a1) #define M0 M1 M0(N); )cpp", R"(expanded tokens: foo (...

A workaround is to not use an underlying type (if that's possible). Looks like SMTConv.h does not handle extraction of the underlying type for scoped enums. Looking at ASTContext.cpp, there...

Balazs has a change in progress for this issue (among others) here -> https://reviews.llvm.org/D93222. Will keep this one open for now until that lands, and we can prove that change...