summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ale_linters/cpp/clang.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/ale_linters/cpp/clang.vim b/ale_linters/cpp/clang.vim
index 8ae48bc4..9c2c73cf 100644
--- a/ale_linters/cpp/clang.vim
+++ b/ale_linters/cpp/clang.vim
@@ -13,7 +13,7 @@ call ale#linter#Define('cpp', {
\ 'name': 'clang',
\ 'output_stream': 'stderr',
\ 'executable': 'clang++',
-\ 'command': 'clang++ -S -x c -fsyntax-only '
+\ 'command': 'clang++ -S -x c++ -fsyntax-only '
\ . g:ale_cpp_clang_options
\ . ' -',
\ 'callback': 'ale#handlers#HandleGCCFormat',