mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-26 22:11:12 +08:00
Revert "Fix #556 Remove duplicate error messages from clang++"
This reverts commit 164c4efb32.
This commit is contained in:
@@ -94,29 +94,3 @@ Execute(The GCC handler shouldn't complain about #pragma once for headers):
|
||||
\ ale#handlers#gcc#HandleGCCFormat(347, [
|
||||
\ '<stdin>:1:1: warning: #pragma once in main file [enabled by default]',
|
||||
\ ])
|
||||
|
||||
Execute(The GCC handler should eliminate duplicated clang errors):
|
||||
AssertEqual
|
||||
\ [
|
||||
\ {'lnum': 2, 'col': 10, 'type': 'E', 'text': '''a.h'' file not found'},
|
||||
\ {'lnum': 4, 'col': 10, 'type': 'E', 'text': 'empty filename'},
|
||||
\ ],
|
||||
\ ale#handlers#gcc#HandleGCCFormat(347, [
|
||||
\ '<stdin>:2:10: fatal error: ''a.h'' file not found',
|
||||
\ '#include "a.h"',
|
||||
\ ' ^~~~~',
|
||||
\ '',
|
||||
\ '<stdin>:2:10: fatal error: ''a.h'' file not found',
|
||||
\ '#include "a.h"',
|
||||
\ ' ^~~~~',
|
||||
\ '',
|
||||
\ '<stdin>:4:10: error: empty filename',
|
||||
\ '',
|
||||
\ '<stdin>:4:10: error: empty filename',
|
||||
\ '#include ""',
|
||||
\ ' ^',
|
||||
\ '',
|
||||
\ '<stdin>:4:10: error: empty filename',
|
||||
\ '#include ""',
|
||||
\ ' ^',
|
||||
\ ])
|
||||
|
||||
Reference in New Issue
Block a user