diff options
| author | Tim Foley <tfoleyNV@users.noreply.github.com> | 2017-11-07 14:05:22 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-11-07 14:05:22 -0800 |
| commit | 939688e963fde7a0485f210ef2674c27692021a4 (patch) | |
| tree | b86d6d71c3dd57b3fc2af3b1006be397d0cb01cc /source/slang/emit.cpp | |
| parent | 417c9f3939e0545125317f49316a6dfb060d6c2c (diff) | |
Add reflection API to get type name (#263)
This is currently only useful for `struct` types.
I implemented a special-case exception so that the auto-generated `struct` types used for `cbuffer` members don't show their internal name.
I did *not* implement any logic to avoid returning the name `vector` for a vector type, etc., since they are all `DeclRefType`s and it seemed easiest to just let the user access information they can't really use.
Diffstat (limited to 'source/slang/emit.cpp')
0 files changed, 0 insertions, 0 deletions
