[PATCH] D129973: [clang] Pass FoundDecl to DeclRefExpr creator for operator overloads
Danny Mösch via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Jul 21 12:09:19 PDT 2022
SimplyDanny marked an inline comment as done.
SimplyDanny added inline comments.
================
Comment at: clang/test/AST/ast-dump-overloaded-operators.cpp:65
+// CHECK-NEXT: |-ImplicitCastExpr {{.*}} <col:7> 'void (*)(E, E)' <FunctionToPointerDecay>
+// CHECK-NEXT: | `-DeclRefExpr {{.*}} <col:7> 'void (E, E)' lvalue Function {{.*}} 'operator-' 'void (E, E)' (UsingShadow {{.*}} 'operator-')
+// CHECK-NEXT: |-CXXScalarValueInitExpr {{.*}} <col:3, col:5> 'E'
----------------
This verifies the AST dump. The new part is the `UsingShadow` at the end of this line.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D129973/new/
https://reviews.llvm.org/D129973
More information about the cfe-commits
mailing list