Skip to content

Commit

Permalink
Add additional C++ filename extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
mid-kid authored and dcbaker committed Oct 1, 2024
1 parent 3728b22 commit 940c45f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mesonbuild/compilers/compilers.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
# First suffix is the language's default.
lang_suffixes: T.Mapping[str, T.Tuple[str, ...]] = {
'c': ('c',),
'cpp': ('cpp', 'cppm', 'cc', 'cxx', 'c++', 'hh', 'hpp', 'ipp', 'hxx', 'ino', 'ixx', 'C', 'H'),
'cpp': ('cpp', 'cppm', 'cc', 'cp', 'cxx', 'c++', 'hh', 'hp', 'hpp', 'ipp', 'hxx', 'h++', 'ino', 'ixx', 'CPP', 'C', 'HPP', 'H'),
'cuda': ('cu',),
# f90, f95, f03, f08 are for free-form fortran ('f90' recommended)
# f, for, ftn, fpp are for fixed-form fortran ('f' or 'for' recommended)
Expand Down

0 comments on commit 940c45f

Please sign in to comment.