microsoft / DirectXShaderCompiler

This repo hosts the source for the DirectX Shader Compiler which is based on LLVM/Clang.
Other
3.11k stars 695 forks source link

[SPIRV] Check if decl is identifier before getting name #7012

Closed s-perron closed 2 days ago

s-perron commented 4 days ago

We hit an assert when trying to get the name of operator(). This is fixed by first checking if it function declatarion is an identifier.

Fixes #6973