================ @@ -83,14 +45,11 @@ Errno::operator int() { return shared_errno; } void Errno::operator=(int a) { *__llvm_libc_errno() = a; } Errno::operator int() { return *__llvm_libc_errno(); } -#elif LIBC_ERRNO_MODE == LIBC_ERRNO_MODE_SYSTEM ---------------- vonosmas wrote:
I think it may be cleaner to add this elif in place, and just leave nothing inside, with a comment that in this case the implementation is provided by support header. https://github.com/llvm/llvm-project/pull/140841 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits