Skip to content

Commit

Permalink
fixup! [AIE1][CGFv1] Add CodeGenFormat base files and Backend registr…
Browse files Browse the repository at this point in the history
…ation
  • Loading branch information
gbossu authored and stephenneuendorffer committed Apr 27, 2024
1 parent d4d8044 commit 1e707f9
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions llvm/utils/TableGen/CodeGenFormat.h
Original file line number Diff line number Diff line change
Expand Up @@ -683,9 +683,14 @@ class TGFieldLayout {
/// NOTE: We can also implement a base abstract class defining the interface
/// of this iterator and then make it derives from it (could be nice if we need
/// to implement a BFS version of this iterator).
class TGFieldIterator
: public std::iterator<std::forward_iterator_tag, TGFieldIterator> {
class TGFieldIterator {
public:
using iterator_category = std::forward_iterator_tag;
using value_type = TGFieldIterator;
using difference_type = std::ptrdiff_t;
using pointer = TGFieldIterator *;
using reference = TGFieldIterator &;

/// Traversal Modes
enum class Mode { FullTraversal, StopTraversal };

Expand Down

0 comments on commit 1e707f9

Please sign in to comment.