Merge pull request #3697 from lioncash/declarations

CMakeLists: Enable -Wmissing-declarations on Linux builds
This commit is contained in:
bunnei 2020-04-23 02:18:52 -04:00 committed by GitHub
commit 2409fedacf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 91 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) {