aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/Support/TargetParserTest.cpp
diff options
context:
space:
mode:
authorChris Bieneman <chris.bieneman@me.com>2022-03-30 13:32:24 -0500
committerChris Bieneman <chris.bieneman@me.com>2022-03-30 14:15:01 -0500
commitff6696c842bac0b15fc04015b25ead721768eac9 (patch)
tree463f98cf2c1e9b6c8187f17b59dffdd2fca51bbc /llvm/unittests/Support/TargetParserTest.cpp
parent385cc25a531a72c393cee44689e2c3194615bcec (diff)
downloadllvm-ff6696c842bac0b15fc04015b25ead721768eac9.zip
llvm-ff6696c842bac0b15fc04015b25ead721768eac9.tar.gz
llvm-ff6696c842bac0b15fc04015b25ead721768eac9.tar.bz2
Expanding HLSL attribute diagnostics
Updating the diagnostics as per the feedback on https://reviews.llvm.org/D122627. This change correctly handles missing argument lists, and changes the subject for the `numthreads` attribute to be global functions. I did not handle applying the attribute to template functions because that currently fails parsing in a way that is consisetent with the current DXC codebase (Microsoft attributes are not supported on templates). A future improvement to the diagnostic maybe warranted.
Diffstat (limited to 'llvm/unittests/Support/TargetParserTest.cpp')
0 files changed, 0 insertions, 0 deletions