================
@@ -18,6 +18,23 @@ using namespace clang::interp;
State::~State() {}
+// With -fms-compatibility we allow pointer to integer casts
+// followed by nullptr casts.
+void State::clearDiagIfNeeded(diag::kind DiagId) {
----------------
shafik wrote:
The mechanics of this feel pretty mysterious to me, can you add some more
comments, explaining how it accomplishes the intent commented above.
https://github.com/llvm/llvm-project/pull/197005
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits