Fixed many -Wreserved-id-macro warnings by fixing header guard spelling (#361)

* Fixed many -Wreserved-id-macro warnings by fixing header guard spelling

Removed leading underscore(s) from header guard spelling.  Used 2 regexes:

` _H5(.*)_H`
` __H5(.*)_H`

Applied case-insensitively to only .h files.

* Modified scripts that generate header files to not use underscore prefix

Interestingly, there was already no leading underscore in the trailing comment at the end of the file

* Fixed remaining -Wreserved-id-macro warning not caught by regex
This commit is contained in:
Sean McBride
2021-02-22 23:29:56 -05:00
committed by GitHub
parent 5ed255a607
commit c17b4b93d6
201 changed files with 587 additions and 587 deletions

View File

@@ -12,8 +12,8 @@
* help@hdfgroup.org. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
#ifndef __H5ObjCreatPropList_H
#define __H5ObjCreatPropList_H
#ifndef H5ObjCreatPropList_H
#define H5ObjCreatPropList_H
namespace H5 {
@@ -75,4 +75,4 @@ class H5_DLLCPP ObjCreatPropList : public PropList {
}; // end of ObjCreatPropList
} // namespace H5
#endif // __H5ObjCreatPropList_H
#endif // H5ObjCreatPropList_H