forked from OSchip/llvm-project
[clang][test] Make headers unique to avoid linking issues
Make the empty headers used by cl-pch-showincludes.cpp unique so that
filesystems that link these files together by contents will not see
different behaviour in this test, which is not testing linked files
specifically.
This was uncovered by 5ea78c4113
which made us stop mutating the name
of the presumed loc for the file in ContentCache, but that just surfaced
an underlying issue that the filename of multiple includes of linked
files are not separately tracked.
Differential Revision: https://reviews.llvm.org/D135373
This commit is contained in:
parent
c5e1ddb6fd
commit
8d9a3a6b9b
|
@ -0,0 +1 @@
|
|||
// header0.h
|
|
@ -0,0 +1 @@
|
|||
// header1.h
|
|
@ -1 +1,2 @@
|
|||
// header2.h
|
||||
#include "header1.h"
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
// header3.h
|
|
@ -0,0 +1 @@
|
|||
// header4.h
|
Loading…
Reference in New Issue