[clang] [clang] Fix incorrect line numbers with -E and raw string (#47577) (PR #77021)

via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 7 14:31:04 PST 2024


================
@@ -0,0 +1,6 @@
+// RUN: %clang_cc1 -E %s | FileCheck %s
+// CHECK: AAA
+// CHECK-NEXT: BBB
+R"(
+AAA)"
+BBB
----------------
cor3ntin wrote:

This test is not testing line numbers

https://github.com/llvm/llvm-project/pull/77021


More information about the cfe-commits mailing list