[Attributes] Remove parameter `context_dependent` (#6772)
authorAndres Noetzli <andres.noetzli@gmail.com>
Mon, 21 Jun 2021 19:41:00 +0000 (12:41 -0700)
committerGitHub <noreply@github.com>
Mon, 21 Jun 2021 19:41:00 +0000 (19:41 +0000)
commitb1db68565a42bc22744cf38e95da6cbe8368c19b
treecbc1f017578712a147a52d27c12488a03ba231b7
parent331187d557b2c54b079de6348ff1f597a72f50a2
[Attributes] Remove parameter `context_dependent` (#6772)

After commit d70a63324c95210f1d78c2efc46395d2369d2e2b, context-dependent
attributes have not been supported and, as a result, the template
parameter `context_dependent` of `Attribute` has not been used.
Context-dependent attributes also do not fit with our current design of
sharing attributes across different solvers, so it is unlikely that we
will add that feature back in the future. This commit removes the unused
template parameter.
src/expr/attribute.h
src/expr/attribute_internals.h
test/unit/node/attribute_white.cpp