aco: Don't declare 'Block' as class, but define as struct.
authorOschowa <oschowa@web.de>
Fri, 22 May 2020 10:40:29 +0000 (12:40 +0200)
committerMarge Bot <eric+marge@anholt.net>
Tue, 2 Jun 2020 21:31:17 +0000 (21:31 +0000)
Fixes clang warnings.

Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5228>

src/amd/compiler/aco_ir.h

index 3921cad89ab8284283d739b79b77beb3aa5998c4..a25efe1e7a1886c4af086aba3a8dfbcb918ee877 100644 (file)
@@ -748,7 +748,7 @@ private:
    };
 };
 
-class Block;
+struct Block;
 
 struct Instruction {
    aco_opcode opcode;