CarvedCoder wrote:
I have tried two approaches:
Filtering incomplete records in findStyleKind(), which suppresses standalone
forward declaration warnings cleanly, but breaks fix-it propagation to
canonical forward declarations.
Filtering in getDeclFailureInfo(), which preserves the canonical declaration
behavior, but breaks cases like:
struct forward_declared_as_struct;
class forward_declared_as_struct {};
where the forward declaration no longer gets renamed.
Is there a place in the pipeline to suppress diagnostics for standalone forward
declarations while still preserving rename propagation across redeclarations?
https://github.com/llvm/llvm-project/pull/198517
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits