I suggest to try the search pattern "\<_(?:(?:_(.*))|([A-Z]+))" on source files. Some places will be found where names begin with two underscores or an underscore and an uppercase letter. Examples: - __AdviceInfo_h__ - __Condition_h__ - __unknown_t - _Anonymous This does not fit to the expected naming conventions of the C/C++ language standard. https://www.securecoding.cert.org/confluence/display/seccode/DCL37-C.+Do+not+use+identifiers+that+are+reserved+for+the+implementation
Link update: https://www.securecoding.cert.org/confluence/display/cplusplus/DCL32-CPP.+Do+not+declare+or+define+a+reserved+identifier#DCL32-CPP.Donotdeclareordefineareservedidentifier-NoncompliantCodeExample%28HeaderGuard%29