Commit 2e39959
authored
[HLSL][RootSignature] Use "stringified" version for diagnostic output of punctuator tokens (#145827)
This pr will corrects the output with a stringified version of a
puncuator (eg `')'`) instead of its ascii value.
- Update `LexHLSLRootSignature` to fix the `DiagnosticBuilder`
`operator<<` overload to correclty format the puncuator
- Add testcase demonstrating the stringified version is output
Resolves #145814.1 parent aeea062 commit 2e39959
File tree
2 files changed
+8
-0
lines changed- clang
- include/clang/Lex
- test/SemaHLSL
2 files changed
+8
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
53 | 57 | | |
54 | 58 | | |
55 | 59 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
0 commit comments