Skip to content

Commit

Permalink
[MemLoc] Fix debug print for LocationSize
Browse files Browse the repository at this point in the history
  • Loading branch information
nikic committed Dec 20, 2020
1 parent d86a00d commit 6fa1230
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llvm/lib/Analysis/MemoryLocation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ void LocationSize::print(raw_ostream &OS) const {
OS << "LocationSize::";
if (*this == beforeOrAfterPointer())
OS << "beforeOrAfterPointer";
if (*this == afterPointer())
else if (*this == afterPointer())
OS << "afterPointer";
else if (*this == mapEmpty())
OS << "mapEmpty";
Expand Down

0 comments on commit 6fa1230

Please sign in to comment.