[clang] [C++20][Modules][Serialization] Delay marking pending incomplete decl chains until the end of `finishPendingActions`. (PR #121245)
via cfe-commits
cfe-commits at lists.llvm.org
Wed Jan 29 01:08:36 PST 2025
github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {clang-format}-->
:warning: C/C++ code formatter, clang-format found issues in your code. :warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
git-clang-format --diff d4159e2a1d1d640077b2e5cde66b0a284049955f d48f483b66e30d0ca8df41bb3e9da5137abeec37 --extensions cpp -- clang/test/Modules/pr121245.cpp clang/lib/Serialization/ASTReader.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/clang/lib/Serialization/ASTReader.cpp b/clang/lib/Serialization/ASTReader.cpp
index 83bcd5bfab..24acd6e297 100644
--- a/clang/lib/Serialization/ASTReader.cpp
+++ b/clang/lib/Serialization/ASTReader.cpp
@@ -10479,7 +10479,7 @@ void ASTReader::finishPendingActions() {
// For each decl chain that we wanted to complete while deserializing, mark
// it as "still needs to be completed".
- for (Decl* D : PendingIncompleteDeclChains)
+ for (Decl *D : PendingIncompleteDeclChains)
markIncompleteDeclChain(D);
PendingIncompleteDeclChains.clear();
}
``````````
</details>
https://github.com/llvm/llvm-project/pull/121245
More information about the cfe-commits
mailing list