Skip to content

Commit

Permalink
cg: Rename attr Visit argument to attr.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jezurko committed Oct 5, 2023
1 parent 5f891a5 commit 4f1bc0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/vast/CodeGen/FallBackVisitor.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ namespace vast::cg
operation Visit(const clang::Stmt *stmt) { return visit_with_fallback(stmt); }
operation Visit(const clang::Decl *decl) { return visit_with_fallback(decl); }
mlir_type Visit(const clang::Type *type) { return visit_with_fallback(type); }
mlir_attr Visit(const clang::Attr *type) { return visit_with_fallback(type); }
mlir_attr Visit(const clang::Attr *attr) { return visit_with_fallback(attr); }
mlir_type Visit(clang::QualType type) { return visit_with_fallback(type); }

using visitors = util::type_list< Visitors< Derived >... >;
Expand Down

0 comments on commit 4f1bc0a

Please sign in to comment.