Skip to content

Commit 969284a

Browse files
Add .hip extension. (#44)
* Add .hip extension. * Add new extensions according to issue #41 * Remove wrong brace. * Remove Json. ``` Configuration file(s) do(es) not support Json ``` with clang-formt 18.0.0 * Readd JSON. * Add inl and ipp file endings. --------- Co-authored-by: Lars Melchior <TheLartians@users.noreply.github.com>
1 parent 75a7238 commit 969284a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

git-clang-format.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def main():
8080
'c', 'h', # C
8181
'm', # ObjC
8282
'mm', # ObjC++
83-
'cc', 'cp', 'cpp', 'c++', 'cxx', 'hh', 'hpp', 'hxx', 'inc', 'inl', # C++
83+
'cc', 'cp', 'cpp', 'ipp', 'c++', 'cxx', 'hh', 'hpp', 'hxx', 'inc', 'inl', # C++
8484
'ccm', 'cppm', 'cxxm', 'c++m', # C++ Modules
8585
'cu', 'cuh', # CUDA
8686
# Other languages that clang-format supports
@@ -89,9 +89,9 @@ def main():
8989
'js', # JavaScript
9090
'ts', # TypeScript
9191
'cs', # C Sharp
92-
'json', # Json
9392
'sv', 'svh', 'v', 'vh', # Verilog
94-
])
93+
'json', # JSON
94+
])
9595

9696
p = argparse.ArgumentParser(
9797
usage=usage, formatter_class=argparse.RawDescriptionHelpFormatter,

0 commit comments

Comments
 (0)