summaryrefslogtreecommitdiffstats
path: root/external
diff options
context:
space:
mode:
authorjsmall-nvidia <jsmall@nvidia.com>2020-08-11 11:37:38 -0400
committerGitHub <noreply@github.com>2020-08-11 11:37:38 -0400
commit96805c71696b3cce2bdd020a16574d88a80be1eb (patch)
tree20824eb8f560140c913cddf779ed465ea2ba4955 /external
parent2903eb53ed9411d1160d2b777992ba9f36d0c746 (diff)
Improvements to Casting (#1483)
* Improve handling of cast detection when have a more complex cast than just a single identifier. * Improve comments around heuristic for casting * Added nested enum test. * Improve comments * Define function like - output change. * Use lookup for types in determining if cast or not. * Add _isCast function * Add heuristic test to nested-enum.slang that works if the type test fails. * Change hueristic based on review. Allow (..)( to always be an expression, because if it's a type it will be turned into a cast later. * Fix output of define-function-like.slang - which changes again with improved casting support. * Improve testing for type in cast - if we find a decl and it's not a type, then we know it's not a cast.
Diffstat (limited to 'external')
0 files changed, 0 insertions, 0 deletions