[clang] [clang-format] Remove code related to trigraphs (PR #148640)

2025-07-21 Thread via cfe-commits
https://github.com/sstwcw closed https://github.com/llvm/llvm-project/pull/148640 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang-format] Remove code related to trigraphs (PR #148640)

2025-07-21 Thread via cfe-commits
https://github.com/sstwcw updated https://github.com/llvm/llvm-project/pull/148640 >From 59a2384a380ff329848e137b7b40a215981ac81d Mon Sep 17 00:00:00 2001 From: sstwcw Date: Mon, 14 Jul 2025 14:32:40 + Subject: [PATCH 1/2] Remove code related to trigraphs When reviewing #147156, the review

[clang] [clang-format] Remove code related to trigraphs (PR #148640)

2025-07-21 Thread via cfe-commits
https://github.com/sstwcw updated https://github.com/llvm/llvm-project/pull/148640 >From 59a2384a380ff329848e137b7b40a215981ac81d Mon Sep 17 00:00:00 2001 From: sstwcw Date: Mon, 14 Jul 2025 14:32:40 + Subject: [PATCH 1/2] Remove code related to trigraphs When reviewing #147156, the review

[clang] [clang-format] Remove code related to trigraphs (PR #148640)

2025-07-20 Thread Owen Pan via cfe-commits
https://github.com/owenca edited https://github.com/llvm/llvm-project/pull/148640 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang-format] Remove code related to trigraphs (PR #148640)

2025-07-17 Thread Owen Pan via cfe-commits
@@ -1300,22 +1293,16 @@ FormatToken *FormatTokenLexer::getNextToken() { Style.TabWidth - (Style.TabWidth ? Column % Style.TabWidth : 0); break; case '\\': - case '?': - case '/': -// The text was entirely whitespace when this loop was

[clang] [clang-format] Remove code related to trigraphs (PR #148640)

2025-07-15 Thread via cfe-commits
https://github.com/mydeveloperday approved this pull request. https://github.com/llvm/llvm-project/pull/148640 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang-format] Remove code related to trigraphs (PR #148640)

2025-07-14 Thread Björn Schäpers via cfe-commits
https://github.com/HazardyKnusperkeks approved this pull request. https://github.com/llvm/llvm-project/pull/148640 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang-format] Remove code related to trigraphs (PR #148640)

2025-07-14 Thread Naveen Seth Hanig via cfe-commits
https://github.com/naveen-seth commented: Hi, I've requested the reviewers of [#147156](https://github.com/llvm/llvm-project/pull/147156) for this since I don't understand this topic all too well. https://github.com/llvm/llvm-project/pull/148640 ___

[clang] [clang-format] Remove code related to trigraphs (PR #148640)

2025-07-14 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-format Author: None (sstwcw) Changes When reviewing #147156, the reviewers pointed out that we didn't need to support the trigraph. The code never handled it right. In the debug build, this kind of input caused the assertion in the function `co

[clang] [clang-format] Remove code related to trigraphs (PR #148640)

2025-07-14 Thread via cfe-commits
https://github.com/sstwcw created https://github.com/llvm/llvm-project/pull/148640 When reviewing #147156, the reviewers pointed out that we didn't need to support the trigraph. The code never handled it right. In the debug build, this kind of input caused the assertion in the function `coun