File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -404,9 +404,8 @@ Improvements to Clang's diagnostics
404404- Clang now emits a diagnostic in case `vector_size ` or `ext_vector_type `
405405 attributes are used with a negative size (#GH165463).
406406
407- - A new warning, -Wshadow-header, has been added to detect when a header file
408- included via quotes (#include "...") is found in multiple distinct search
409- directories.
407+ - A new warning ``-Wshadow-header `` has been added to detect when a header file
408+ included via quotes (#include "...") is found in multiple distinct search directories.
410409
411410Improvements to Clang's time-trace
412411----------------------------------
Original file line number Diff line number Diff line change 1919// RUN: %clang_cc1 -fms-compatibility -Wshadow-header -Eonly %t/t.c -I %t -I %t/foo -I %t/foo/bar 2>&1 | FileCheck %s --check-prefix=SHADOWING-MS
2020
2121// SHADOWING-MS: {{.*}} warning: multiple candidates for header 't3.h' found; directory '{{.*}}foo' chosen, ignoring '{{.*}}' and others [-Wshadow-header]
22+ // SHADOWING-MS: warning: Found foo/t3.h.
2223// SHADOWING-MS-NOT: {{.*}} warning: multiple candidates for header 't3.h' found; directory '{{.*}}foo' chosen, ignoring '{{.*}}' and others [-Wshadow-header]
2324
2425//--- main.c
You can’t perform that action at this time.
0 commit comments