General: Resolve warnings related to missing declarations

This commit is contained in:
Lioncash 2020-04-16 22:43:33 -04:00
parent 09eb6f9991
commit eaeb4520f7
11 changed files with 89 additions and 88 deletions

View file

@ -587,8 +587,6 @@ bool TryQuery(CFGRebuildState& state) {
return true;
}
} // Anonymous namespace
void InsertBranch(ASTManager& mm, const BlockBranchInfo& branch_info) {
const auto get_expr = ([&](const Condition& cond) -> Expr {
Expr result{};
@ -655,6 +653,8 @@ void DecompileShader(CFGRebuildState& state) {
state.manager->Decompile();
}
} // Anonymous namespace
std::unique_ptr<ShaderCharacteristics> ScanFlow(const ProgramCode& program_code, u32 start_address,
const CompilerSettings& settings,
Registry& registry) {