cgmb / guardonce

Utilities for converting from C/C++ include guards to #pragma once and back again.
MIT License
142 stars 3 forks source link

Warn about using reserved symbols for include guards #18

Open cgmb opened 6 years ago

cgmb commented 6 years ago

It would be nice if checkguard could warn about include guards using symbols are reserved for the compiler or standard library. It's an easy thing to forget about when picking your guard pattern. I put a reminder in the docs, but it wouldn't be hard to automatically check that.