[clang] 1599b01 - [Clang] Add missing colons to Preprocessor lit test (#214342)

via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 6 06:50:42 PDT 2026


Author: Ian Li
Date: 2026-08-06T09:50:37-04:00
New Revision: 1599b010ffe5e341ef643759f22d797ff1d91ff4

URL: https://github.com/llvm/llvm-project/commit/1599b010ffe5e341ef643759f22d797ff1d91ff4
DIFF: https://github.com/llvm/llvm-project/commit/1599b010ffe5e341ef643759f22d797ff1d91ff4.diff

LOG: [Clang] Add missing colons to Preprocessor lit test (#214342)

PR #211512 introduced new lit tests that are missing colons. This PR
adds them back so the lit tests introduced actually run.

Added: 
    

Modified: 
    clang/test/Preprocessor/line-directive-output.c

Removed: 
    


################################################################################
diff  --git a/clang/test/Preprocessor/line-directive-output.c b/clang/test/Preprocessor/line-directive-output.c
index 726cd7995de87..64b556f67ea59 100644
--- a/clang/test/Preprocessor/line-directive-output.c
+++ b/clang/test/Preprocessor/line-directive-output.c
@@ -81,13 +81,13 @@ extern int z;
 // CHECK: # 1 "c:\moo\zar\haz.h"
 #line 1 "c:\moo\zar\haz.h"
 
-// CHECK # 1 "original\x12source.c"
+// CHECK: # 1 "original\x12source.c"
 # 1 "original\x12source.c"
 
-// CHECK # 1 "original\u1234"
+// CHECK: # 1 "original\u1234"
 # 1 "original\u1234"
 
-// CHECK # 1 "original\u{1234}"
+// CHECK: # 1 "original\u{1234}"
 # 1 "original\u{1234}"
 
 # 1 "system.h" 3


        


More information about the cfe-commits mailing list