[clang] [clang][dataflow] Fix result object location for builtin `<=>`. (PR #88726)

via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 16 02:56:04 PDT 2024


================
@@ -508,6 +508,11 @@ class ResultObjectVisitor : public RecursiveASTVisitor<ResultObjectVisitor> {
         isa<CXXStdInitializerListExpr>(E)) {
       return;
     }
+    if (auto *Op = dyn_cast<BinaryOperator>(E);
----------------
martinboehme wrote:

See https://github.com/llvm/llvm-project/pull/88865 for the PR that refactors this into a switch statement -- let's continue discussion there.

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


More information about the cfe-commits mailing list