Skip to content

Commit

Permalink
cg: Add policy for skipping global initializers.
Browse files Browse the repository at this point in the history
  • Loading branch information
PappasBrent authored and xlauko committed Aug 29, 2024
1 parent b7975ff commit ddc9170
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions include/vast/CodeGen/CodeGenPolicy.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ namespace vast::cg {
missing_return_policy([[maybe_unused]] const clang_function *decl) const = 0;

virtual bool skip_function_body([[maybe_unused]] const clang_function *decl) const = 0;

virtual bool skip_global_initializer([[maybe_unused]] const clang_var_decl *decl
) const = 0;
};

} // namespace vast::cg

0 comments on commit ddc9170

Please sign in to comment.