Skip to content

Commit

Permalink
Fixed what appears to be a clear bug in Reflection.cpp (probably does…
Browse files Browse the repository at this point in the history
…n't currently matter) (#100)

Co-authored-by: Daisy Hollman <cpp@dsh.fyi>
  • Loading branch information
dhollman and Daisy Hollman authored Oct 1, 2024
1 parent c876e1c commit 1964aea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clang/lib/AST/Reflection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
namespace clang {

bool TagDataMemberSpec::operator==(TagDataMemberSpec const &Rhs) const {
return (Ty == Ty &&
return (Ty == Rhs.Ty &&
Alignment == Rhs.Alignment &&
BitWidth == Rhs.BitWidth &&
Name == Rhs.Name);
Expand Down

0 comments on commit 1964aea

Please sign in to comment.