Skip to content

Commit

Permalink
add explanatory comment
Browse files Browse the repository at this point in the history
  • Loading branch information
tlively committed Oct 24, 2023
1 parent bd721b5 commit dd0cbd2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/analysis/lattices/flat.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ namespace wasm::analysis {
template<typename T>
concept Flattenable = std::copyable<T> && std::equality_comparable<T>;

// Given a type T, Flat<T> is the lattice where none of the values of T are
// comparable except with themselves, but they are all greater than a common
// bottom element not in T and less than a common top element also not in T.
template<Flattenable T>
#else
template<typename T>
Expand Down

0 comments on commit dd0cbd2

Please sign in to comment.