EugeneZelenko wrote:

> > I think check also should look for #pragma once.
> 
> Good idea! I will continue with it next week 👍🏻
> 
> @EugeneZelenko Can you please guide me how you would do this?

I think there are two scenarios:

* Warn about conflicting `#pragma once` and do not insert guard.
* Replace `#pragma once` with guard.

I'm not sure with one is easier to implement, but later seems more fitting 
check purpose.

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

Reply via email to