Skip to content

Commit be2455f

Browse files
committed
Name the plus-linter 'clang++'
1 parent fdb1a5d commit be2455f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

linter.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
)
2727

2828

29-
class clangc(Linter):
29+
class Clang(Linter):
3030
cmd = 'clang -fsyntax-only -fno-caret-diagnostics ${args} -'
3131
defaults = {
3232
'selector': 'source.c',
@@ -39,7 +39,8 @@ class clangc(Linter):
3939
on_stderr = None
4040

4141

42-
class clangcplus(Linter):
42+
class ClangPlus(Linter):
43+
name = 'clang++'
4344
cmd = 'clang -fsyntax-only -fno-caret-diagnostics ${args} -'
4445
defaults = {
4546
'selector': 'source.c++',

0 commit comments

Comments
 (0)