================
@@ -903,6 +938,73 @@ BuiltinTypeDeclBuilder 
&BuiltinTypeDeclBuilder::addCreateFromImplicitBinding() {
       .finalize();
 }
 
+BuiltinTypeDeclBuilder &
+BuiltinTypeDeclBuilder::addCreateFromBindingWithImplicitCounter() {
+  if (Record->isCompleteDefinition())
+    return *this;
----------------
hekota wrote:

```suggestion
  assert(!Record->isCompleteDefinition() && "record is already complete");
```
I've recently change these to asserts because the record should never be 
complete here.

https://github.com/llvm/llvm-project/pull/162291
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to