Skip to content

Commit 1e381f6

Browse files
committed
Add cxx as a C++ recognized prefix
C++ files generated for the CMake configuration are actually suffixed with cxx. Add this as a recognized source file suffix.
1 parent d74f589 commit 1e381f6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tools/gnatcov/compiler_wrappers-gcc.adb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -361,6 +361,7 @@ is
361361
if Ends_With (Arg, ".c")
362362
or else Ends_With (Arg, ".cc")
363363
or else Ends_With (Arg, ".cpp")
364+
or else Ends_With (Arg, ".cxx")
364365
then
365366
if Length (Result.Filename) = 0 then
366367
Result.Filename := +Ada.Directories.Full_Name (+Arg);

0 commit comments

Comments
 (0)