[clang] 23e1078 - Add distinguished content to the empty test headers.

Haojian Wu via cfe-commits cfe-commits at lists.llvm.org
Thu Dec 8 07:31:24 PST 2022


Author: Haojian Wu
Date: 2022-12-08T16:27:04+01:00
New Revision: 23e1078a2fee686e54f1da93de20afc01c47f25d

URL: https://github.com/llvm/llvm-project/commit/23e1078a2fee686e54f1da93de20afc01c47f25d
DIFF: https://github.com/llvm/llvm-project/commit/23e1078a2fee686e54f1da93de20afc01c47f25d.diff

LOG: Add distinguished content to the empty test headers.

To make the lit test print-header-json.c passed on a file-content-hash
file system.

Added: 
    

Modified: 
    clang/test/Preprocessor/Inputs/print-header-json/header1.h
    clang/test/Preprocessor/Inputs/print-header-json/header2.h
    clang/test/Preprocessor/Inputs/print-header-json/system/system1.h
    clang/test/Preprocessor/Inputs/print-header-json/system/system2.h
    clang/test/Preprocessor/Inputs/print-header-json/system/system3.h

Removed: 
    


################################################################################
diff  --git a/clang/test/Preprocessor/Inputs/print-header-json/header1.h b/clang/test/Preprocessor/Inputs/print-header-json/header1.h
index e69de29bb2d1d..586f24a26b2e3 100644
--- a/clang/test/Preprocessor/Inputs/print-header-json/header1.h
+++ b/clang/test/Preprocessor/Inputs/print-header-json/header1.h
@@ -0,0 +1 @@
+// header1.h

diff  --git a/clang/test/Preprocessor/Inputs/print-header-json/header2.h b/clang/test/Preprocessor/Inputs/print-header-json/header2.h
index e69de29bb2d1d..46be4681fc24c 100644
--- a/clang/test/Preprocessor/Inputs/print-header-json/header2.h
+++ b/clang/test/Preprocessor/Inputs/print-header-json/header2.h
@@ -0,0 +1 @@
+// header2.h

diff  --git a/clang/test/Preprocessor/Inputs/print-header-json/system/system1.h b/clang/test/Preprocessor/Inputs/print-header-json/system/system1.h
index e69de29bb2d1d..b386f34e745a5 100644
--- a/clang/test/Preprocessor/Inputs/print-header-json/system/system1.h
+++ b/clang/test/Preprocessor/Inputs/print-header-json/system/system1.h
@@ -0,0 +1 @@
+// system1.h

diff  --git a/clang/test/Preprocessor/Inputs/print-header-json/system/system2.h b/clang/test/Preprocessor/Inputs/print-header-json/system/system2.h
index e69de29bb2d1d..7f3f7bf90ee6f 100644
--- a/clang/test/Preprocessor/Inputs/print-header-json/system/system2.h
+++ b/clang/test/Preprocessor/Inputs/print-header-json/system/system2.h
@@ -0,0 +1 @@
+// system2.h

diff  --git a/clang/test/Preprocessor/Inputs/print-header-json/system/system3.h b/clang/test/Preprocessor/Inputs/print-header-json/system/system3.h
index e69de29bb2d1d..1d83f7a531ee8 100644
--- a/clang/test/Preprocessor/Inputs/print-header-json/system/system3.h
+++ b/clang/test/Preprocessor/Inputs/print-header-json/system/system3.h
@@ -0,0 +1 @@
+// system3.h


        


More information about the cfe-commits mailing list