| Issue |
238074
|
| Summary |
[HLSL] Remove support for recursive functions from HLSL
|
| Labels |
HLSL
|
| Assignees |
|
| Reporter |
spall
|
HLSL doesn't allow recursive functions.
### Current Behavior in Clang
Compiles a program with a recursive function with no diagnostics.
https://godbolt.org/z/sj8rMK9n7
### Required Changes in Clang
Add an error diagnostic specifying that HLSL doesn't support recursive functions.
Detect and diagnose all recursive functions.
Add tests showing recursive functions produce the new error diagnostic.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs