Skip to content
Snippets Groups Projects
Commit 7d79ad95 authored by Albert Freeman's avatar Albert Freeman Committed by Emil Velikov
Browse files

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" <mesa-stable@lists.freedesktop.org>
Reviewed-by: default avatarFrancisco Jerez <currojerez@riseup.net>
Reviewed-by: default avatarEmil Velikov <emil.l.velikov@gmail.com>
Signed-off-by: default avatarAlbert Freeman <albertwdfreeman@gmail.com>
(cherry picked from commit 1691ead1)
parent 2becc986
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment