diff options
author | Albert Freeman <[email protected]> | 2015-09-08 13:06:40 +0000 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2015-09-10 14:56:40 +0100 |
commit | 1691ead1b8ae4018a805af58977a43ef90af4203 (patch) | |
tree | 86c71aefcd52ea33ccfd396dce2415e9c3255b0d /src/mesa/main/formats.c | |
parent | bf58a2c362d5afdba512f40b3eb300154201c7f0 (diff) |
clover: Avoid using typename to allow compilation of clover by clang
When parsing an variable declaration qualified with the typename
keyword, clang attempted to declare a variable with the type of non
type member "enum type type" of module::argument (within the header
file clover/core/module.hpp) instead of the typed member of
module::argument "enum type".
Replaced "typename" with "enum" to force clang to declare the variable
marg_type with type "enum type" of module::argument.
CC: "11.0" <[email protected]>
Reviewed-by: Francisco Jerez <[email protected]>
Reviewed-by: Emil Velikov <[email protected]>
Signed-off-by: Albert Freeman <[email protected]>
Diffstat (limited to 'src/mesa/main/formats.c')
0 files changed, 0 insertions, 0 deletions