Warning, /sdk/clazy/docs/checks/README-ifndef-define-typo.md is written in an unsupported language. File is not indexed.
0001 # ifndef-define-typo 0002 0003 Tries to find cases where a `#define` following an `#ifndef` defines a different but similar name. 0004 0005 Example: 0006 ``` 0007 #ifndef GL_FRAMEBUFFER_SRG // Oops, typo. 0008 # define GL_FRAMEBUFFER_SRGB 0x8DB9 0009 #endif 0010 ``` 0011 This check uses a Levenshtein Distance algorithm so it will only warn if the names are similar. 0012 This check is disabled by default as it will report many false-positives.