clang-tidy - llvm-header-guard — Extra Clang Tools 16.0.6 documentation

# Extra Clang Tools 16.0.6 documentation

## clang-tidy - llvm-header-guard

# llvm-header-guard

Finds and fixes header guards that do not adhere to LLVM style.

## Options

HeaderFileExtensions

  A comma-separated list of filename extensions of header files (the filename extensions should not include “.” prefix). Default is “h,hh,hpp,hxx”. For header files without an extension, use an empty string (if there are no other desired extensions) or leave an empty element in the list. E.g., “h,hh,hpp,hxx,” (note the trailing comma).