Skip to content

Commit

Permalink
Add .hip extension. (#44)
Browse files Browse the repository at this point in the history
* 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 <[email protected]>
  • Loading branch information
breyerml and TheLartians authored Dec 29, 2024
1 parent 75a7238 commit 969284a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions git-clang-format.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def main():
'c', 'h', # C
'm', # ObjC
'mm', # ObjC++
'cc', 'cp', 'cpp', 'c++', 'cxx', 'hh', 'hpp', 'hxx', 'inc', 'inl', # C++
'cc', 'cp', 'cpp', 'ipp', 'c++', 'cxx', 'hh', 'hpp', 'hxx', 'inc', 'inl', # C++
'ccm', 'cppm', 'cxxm', 'c++m', # C++ Modules
'cu', 'cuh', # CUDA
# Other languages that clang-format supports
Expand All @@ -89,9 +89,9 @@ def main():
'js', # JavaScript
'ts', # TypeScript
'cs', # C Sharp
'json', # Json
'sv', 'svh', 'v', 'vh', # Verilog
])
'json', # JSON
])

p = argparse.ArgumentParser(
usage=usage, formatter_class=argparse.RawDescriptionHelpFormatter,
Expand Down

0 comments on commit 969284a

Please sign in to comment.