Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
franz committed Apr 30, 2024
1 parent d1919e8 commit 9cbf46c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/common.hh
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ struct SPVModuleInfo {
bool HasNoIGBAs = false;
};

bool filterSPIRV(const char *Bytes, size_t NumBytes,
bool ApplyPowerVRWorkaround, std::string &Dst);
auto filterSPIRV(const char *Bytes, size_t NumBytes,
bool ApplyPowerVRWorkaround, std::string &Dst) -> bool;
bool parseSPIR(uint32_t *Stream, size_t NumWords, SPVModuleInfo &ModuleInfo);

Check warning on line 56 in src/common.hh

View workflow job for this annotation

GitHub Actions / cpp-linter

src/common.hh:56:6 [modernize-use-trailing-return-type]

use a trailing return type for this function

/// A prefix given to lowered global scope device variables.
Expand Down
4 changes: 2 additions & 2 deletions src/spirv.cc
Original file line number Diff line number Diff line change
Expand Up @@ -801,8 +801,8 @@ workaroundLlvmSpirvIssue2008(const SPIRVinst &Insn,
return FilterAction::Keep;
}

bool filterSPIRV(const char *Bytes, size_t NumBytes,
bool ApplyPowerVRWorkaround, std::string &Dst) {
auto filterSPIRV(const char *Bytes, size_t NumBytes,
bool ApplyPowerVRWorkaround, std::string &Dst) -> bool {
logTrace("filterSPIRV");

auto *WordsPtr = (const InstWord *)Bytes;
Expand Down

0 comments on commit 9cbf46c

Please sign in to comment.