glsl: Fix clang mismatched-tags warnings with glsl_type.
authorVinson Lee <vlee@freedesktop.org>
Sun, 15 Jun 2014 06:37:41 +0000 (23:37 -0700)
committerVinson Lee <vlee@freedesktop.org>
Sun, 15 Jun 2014 20:34:18 +0000 (13:34 -0700)
Fix clang mismatched-tags warnings introduced with commit
4f5445a45d3ed02e00a061b10c943c0b079c6020.

./glsl_symbol_table.h:37:1: warning: class 'glsl_type' was previously declared as a struct [-Wmismatched-tags]
class glsl_type;
^
./glsl_types.h:86:8: note: previous use is here
struct glsl_type {
       ^
./glsl_symbol_table.h:37:1: note: did you mean struct here?
class glsl_type;
^~~~~

Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/glsl/glsl_symbol_table.h

index 39b84e4dd896092fef36b37504d7b249863955c7..25282641f1eee0b9c26e85bc63c5c2feab70e028 100644 (file)
@@ -34,7 +34,7 @@ extern "C" {
 #include "ir.h"
 
 class symbol_table_entry;
-class glsl_type;
+struct glsl_type;
 
 /**
  * Facade class for _mesa_symbol_table