generator::is_static: extract out isl_class::is_static
commit3a2c4077c76a1b347ac6c15d2875d669db56c7c0
authorSven Verdoolaege <sven@cerebras.net>
Wed, 21 Nov 2018 10:19:25 +0000 (21 11:19 +0100)
committerSven Verdoolaege <sven@cerebras.net>
Wed, 5 Dec 2018 08:52:26 +0000 (5 09:52 +0100)
treef1ccbecbf57269801538475e0ad34a54fe21a39c
parentc4e721f04a1b2b3ddef72a8072035fb9c4c8cfa9
generator::is_static: extract out isl_class::is_static

Since generator::is_static takes a reference to an isl_class anyway,
it may as well be called as an instance method of isl_class.
Having the method available as an isl_class method will
also make it easier to call it during the detection of "get" methods
in an upcoming commit.

The original callers of is_static are not changed in this commit.

Signed-off-by: Sven Verdoolaege <sven@cerebras.net>
interface/generator.cc
interface/generator.h