summaryrefslogtreecommitdiffstats
path: root/tests/cpp-compiler
diff options
context:
space:
mode:
authorjsmall-nvidia <jsmall@nvidia.com>2019-08-08 16:09:29 -0400
committerGitHub <noreply@github.com>2019-08-08 16:09:29 -0400
commitc1cc93dd962a6db6c839341f11d2654cf0e62e37 (patch)
treecc9048411387322e6910854bd63e606ae8ba03e8 /tests/cpp-compiler
parent2552217b76c0bd83e18fceba1d35a367bf569eca (diff)
Make SlangSession an alias for slang::IGlobalSession (#1011)
* Make SlangSession an alias for slang::IGlobalSession. Use asInternal/asExternal for casting in slang.cpp Special case handling of asInternal which argument dependent lookup doesn't find. * To improve implementation asInternal/asExternal in slang.cpp - tried making the internal impls forward to the Slang:: implementations. This caused ambiguities (for example when a function has using namespace Slang in it). To avoid these problems and make it clear where implementation is coming from use Slang::asInternal and removed the forwarding functions. Made the impls SLANG_FORCE_INLINE instead of inline. * Made asInternal/asExternal use SLANG_FORCE_INLINE uniformly.
Diffstat (limited to 'tests/cpp-compiler')
0 files changed, 0 insertions, 0 deletions