[NFC][HLSL] Add tests for vector alias. Remove dead code.
authorChris Bieneman <chris.bieneman@me.com>
Tue, 5 Jul 2022 20:38:06 +0000 (15:38 -0500)
committerChris Bieneman <chris.bieneman@me.com>
Tue, 5 Jul 2022 21:32:59 +0000 (16:32 -0500)
commita6e63e35ede4b9f23b58437263eaac9a2926c9bf
treec74df77dc6fe1318d9ba50a86a2510ff004a0700
parent5cca2ef3c35a08ce439e65e04a8d18d5bb4a6e4e
[NFC][HLSL] Add tests for vector alias. Remove dead code.

Based on feedback from @Aaron.Ballman.

Remove the unused static ID char (can re-add it later if needed).

Add test to cover some invalid HLSL vector instantations ensuring
that the appropriate error messages are generated.
clang/include/clang/Sema/HLSLExternalSemaSource.h
clang/lib/Sema/HLSLExternalSemaSource.cpp
clang/test/SemaHLSL/BuiltIns/vector-errors.hlsl [new file with mode: 0644]