[clang] [clang][ASTImporter] Import explicit object parameter location (PR #124262)
via cfe-commits
cfe-commits at lists.llvm.org
Fri Jan 24 04:22:28 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 625e0a40f1a97d181a4641f604495b6aea433bd8 1a3ddf5830a3405d35c2b2848fdc5c9cb67fdb5b --extensions cpp -- clang/lib/AST/ASTImporter.cpp clang/unittests/AST/ASTImporterTest.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/clang/lib/AST/ASTImporter.cpp b/clang/lib/AST/ASTImporter.cpp
index b2a4bace5c..716251aaad 100644
--- a/clang/lib/AST/ASTImporter.cpp
+++ b/clang/lib/AST/ASTImporter.cpp
@@ -4762,7 +4762,7 @@ ExpectedDecl ASTNodeImporter::VisitParmVarDecl(ParmVarDecl *D) {
if (Err)
return std::move(Err);
- //ToParm->setExplicitObjectParameterLoc(ToExplicitObjectParameterLoc);
+ // ToParm->setExplicitObjectParameterLoc(ToExplicitObjectParameterLoc);
}
// Set the default argument. It should be no problem if it was already done.
``````````
</details>
https://github.com/llvm/llvm-project/pull/124262
More information about the cfe-commits
mailing list