Browse Source

Merge topic 'clang-format-H'

c7323b004f clang-format: Apply formatting to files with upper-case .H extension

Acked-by: Kitware Robot <[email protected]>
Merge-request: !10233
Brad King 9 months ago
parent
commit
7975ae0bb7
2 changed files with 2 additions and 1 deletions
  1. 1 0
      .gitattributes
  2. 1 1
      Tests/QtAutogen/SameName/object_upper_ext.H

+ 1 - 0
.gitattributes

@@ -52,6 +52,7 @@ coverage.xml.in  tab-indent
 *.cpp            our-c-style
 *.cpp            our-c-style
 *.cu             our-c-style
 *.cu             our-c-style
 *.cxx            our-c-style
 *.cxx            our-c-style
+*.H              our-c-style
 *.h              our-c-style
 *.h              our-c-style
 *.hh             our-c-style
 *.hh             our-c-style
 *.hpp            our-c-style
 *.hpp            our-c-style

+ 1 - 1
Tests/QtAutogen/SameName/object_upper_ext.H

@@ -7,7 +7,7 @@ class Object_Upper_Ext_H : public QObject
 {
 {
   Q_OBJECT
   Q_OBJECT
   Q_SLOT
   Q_SLOT
-  void go(){};
+  void go() {};
 };
 };
 
 
 #endif
 #endif