csxplorer
csxplorer
[For GCC compatibility](https://godbolt.org/z/ro63TenEj), the compiler should raise a `err_countof_arg_not_array_type`. In a simple sample: ```cpp int x = _Countof(void); ``` In [`clang/lib/Sema/SemaExpr.cpp`](https://github.com/llvm/llvm-project/blob/99c9e5ebd6c7c5564190133b3171b53f17b7f3f8/clang/lib/Sema/SemaExpr.cpp), the function `Sema::CheckUnaryExprOrTypeTraitOperand` is expected to return at Line...
@Aadarsh-Keshri Maybe changing line 4239 of `clang/lib/Sema/SemaExpr.cpp` can solve the problem: ```cpp - if (T->isVoidType()) { + if (T->isVoidType() && TraitKind != UETT_CountOf) { ``` Though this will raise `err_sizeof_alignof_incomplete_or_sizeless_type`...
May I pick up this issue?
> > May I pick up this issue? > > We assign issues after there is a PR and we check that it is headed in the right direction. Okay,...
Hi would like to take iswupper
已解决,原因是需要依赖.NET 6.0 Runtime。