https://github.com/MitalAshok updated
https://github.com/llvm/llvm-project/pull/91990
>From 5dc9193af0d98335a87e93ad70d945dbc0ffce79 Mon Sep 17 00:00:00 2001
From: Mital Ashok
Date: Mon, 13 May 2024 16:59:06 +0100
Subject: [PATCH] [Clang] Fix Microsoft ABI inheritance model when member
MitalAshok wrote:
Example of the incompatibility: https://godbolt.org/z/Mn1T57WGb
```c++
struct unspecified_inheritance;
template
struct X {
static_assert(I == sizeof(int unspecified_inheritance::*), "");
};
struct Y : X {};
```
Currently, the `sizeof(int Y::*)` locks down the inheritance
github-actions[bot] wrote:
:warning: C/C++ code formatter, clang-format found issues in your code.
:warning:
You can test this locally with the following command:
``bash
git-clang-format --diff 754ff0f54a4b09a8e4b00783475c51f66b949b66
a5347082aa47a7aa525ece818f91fb6fdd5fdb0c --
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Mital Ashok (MitalAshok)
Changes
Fix `CXXRecordDecl::isParsingBaseSpecifiers` so that it is true while parsing
base specifiers instead of directly after they have been parsed.
-fcomplete-member-pointers now issues a diagnostic when a
https://github.com/MitalAshok created
https://github.com/llvm/llvm-project/pull/91990
Fix `CXXRecordDecl::isParsingBaseSpecifiers` so that it is true while parsing
base specifiers instead of directly after they have been parsed.
-fcomplete-member-pointers now issues a diagnostic when a member