Flutter Engine
The Flutter Engine
|
A tool to check that C++ header guards are used consistently in the engine.
The tool checks all header files for the following pattern:
If the header file does not follow this pattern, the tool will print an error message and exit with a non-zero exit code. For more information about why we use this pattern, see the Google C++ style guide.
The tool can automatically fix header files that do not follow the pattern:
By default, the tool checks all header files in the engine. You can restrict the files to check by passing a relative (to the engine/src/flutter
root) paths to include: