[clang] [Clang] Static and explicit object member functions with the same parameter-type-lists (PR #93430)

via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 4 08:23:18 PDT 2024


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 331eb8a0047504f3ae2cdf2d6c60b93e5d0543f1 f7a13a2821a415ea7342fafa63740dc82e589e26 -- clang/test/CXX/drs/cwg2771.cpp clang/include/clang/AST/ExprCXX.h clang/include/clang/Sema/Overload.h clang/lib/Sema/SemaExpr.cpp clang/lib/Sema/SemaOverload.cpp clang/test/CXX/drs/cwg1xx.cpp clang/test/CXX/drs/cwg26xx.cpp clang/test/CodeGenCXX/cxx2b-deducing-this.cpp clang/test/SemaCXX/cxx2b-deducing-this.cpp
``````````

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/clang/include/clang/AST/ExprCXX.h b/clang/include/clang/AST/ExprCXX.h
index 0488698aa9..d2e8d93656 100644
--- a/clang/include/clang/AST/ExprCXX.h
+++ b/clang/include/clang/AST/ExprCXX.h
@@ -3026,7 +3026,7 @@ protected:
 public:
   struct FindResult {
     OverloadExpr *Expression = nullptr;
-    bool IsAddressOfOperand  = false;
+    bool IsAddressOfOperand = false;
     bool IsAddressOfOperandWithParen = false;
     bool HasFormOfMemberPointer = false;
   };

``````````

</details>


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


More information about the cfe-commits mailing list