aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp
diff options
context:
space:
mode:
authorHelena Kotas <hekotas@microsoft.com>2024-07-02 15:21:11 -0700
committerGitHub <noreply@github.com>2024-07-02 15:21:11 -0700
commit5196a91b0827b895aba63ce150ebc8f10795316c (patch)
treeb02468209785ce0b90b34f9a05411a907d424c1f /llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp
parent622df0ee9226b90e924538909337d55333d5d2fa (diff)
downloadllvm-5196a91b0827b895aba63ce150ebc8f10795316c.zip
llvm-5196a91b0827b895aba63ce150ebc8f10795316c.tar.gz
llvm-5196a91b0827b895aba63ce150ebc8f10795316c.tar.bz2
[HLSL] Run availability diagnostic on exported functions (#97352)
Implements availability diagnostic on `export` functions. For shader libraries the HLSL availability diagnostic should run on all entry points and export functions. Now that the `export` keyword is implemented (llvm/llvm-project#96823), we can detect which functions are exported and run the diagnostic on them. Exported functions can be nested in namespaces and in export declarations so we need to scan not just the current translation unit but also namespace and export declarations contexts. Fixes #92073
Diffstat (limited to 'llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions