Skip to content

Commit 978e9e9

Browse files
authored
Merge pull request uxlfoundation#799 from hvdijk/cookiecutter-analyzebuiltin
Update cookiecutter analyzeBuiltin.
2 parents da99313 + 76ce129 commit 978e9e9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • modules/compiler/cookie/{{cookiecutter.target_name}}/source

modules/compiler/cookie/{{cookiecutter.target_name}}/source/module.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ namespace {{cookiecutter.target_name}} {
4747
// Will be filled out by each example
4848
CLTargetBuiltinInfo(std::unique_ptr<compiler::utils::CLBuiltinLoader> L)
4949
: compiler::utils::CLBuiltinInfo(std::move(L)) {}
50-
compiler::utils::Builtin analyzeBuiltin(
50+
std::optional<compiler::utils::Builtin> analyzeBuiltin(
5151
llvm::Function const &Builtin) const override {
5252
compiler::utils::NameMangler mangler(&Builtin.getParent()->getContext());
5353
llvm::StringRef BaseName = mangler.demangleName(Builtin.getName());

0 commit comments

Comments
 (0)