https://github.com/tsfn updated https://github.com/llvm/llvm-project/pull/158420
>From fa5a534fb56d6ca9fe92e9df7cc86cd76ef5c58d Mon Sep 17 00:00:00 2001
From: Yifan Fang
Date: Sat, 13 Sep 2025 18:20:17 +0800
Subject: [PATCH] [clang] Add LangOpts.ScanDeps to fix #88896
---
clang/include/clang/B
https://github.com/tsfn created https://github.com/llvm/llvm-project/pull/158420
None
>From fa5a534fb56d6ca9fe92e9df7cc86cd76ef5c58d Mon Sep 17 00:00:00 2001
From: Yifan Fang
Date: Sat, 13 Sep 2025 18:20:17 +0800
Subject: [PATCH] [clang] Add LangOpts.ScanDeps to fix #88896
---
clang/include/c
https://github.com/tsfn edited https://github.com/llvm/llvm-project/pull/158420
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/tsfn edited https://github.com/llvm/llvm-project/pull/158420
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/tsfn edited https://github.com/llvm/llvm-project/pull/158420
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/tsfn edited https://github.com/llvm/llvm-project/pull/158420
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
tsfn wrote:
@jansvoboda11 I changed LangOption to AllowLiteralDigitSeparator. What do you
think about this?
https://github.com/llvm/llvm-project/pull/158420
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman
https://github.com/tsfn updated https://github.com/llvm/llvm-project/pull/158420
>From fa5a534fb56d6ca9fe92e9df7cc86cd76ef5c58d Mon Sep 17 00:00:00 2001
From: Yifan Fang
Date: Sat, 13 Sep 2025 18:20:17 +0800
Subject: [PATCH 1/2] [clang] Add LangOpts.ScanDeps to fix #88896
---
clang/include/cla
https://github.com/tsfn reopened
https://github.com/llvm/llvm-project/pull/158420
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -1000,6 +1001,21 @@ int z = 128'78;
EXPECT_STREQ("#include \n", Out.data());
}
+TEST(MinimizeSourceToDependencyDirectivesTest, CharacterLiteralInPreprocessor)
{
+ SmallVector Out;
+ SmallVector Tokens;
+ SmallVector Directives;
+
+ StringRef Source = R"(
+#if 1'2
https://github.com/tsfn closed https://github.com/llvm/llvm-project/pull/158420
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
11 matches
Mail list logo