-
Notifications
You must be signed in to change notification settings - Fork 854
[SER] Diagnose HitObject in unsupported declaration contexts #7376
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 30 commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
7a4f217
[SER] Generalize long vector diagnostics to HitObject
simoll 18e7c1c
Merge remote-tracking branch 'msft/main' into NEWBASE
simoll 57ff5a3
Split-off from LongVector diagnostics / Fold err_hlsl_node_record_object
simoll 2c128ef
Remove redundant '' around %0 in unsupported_object_context diag msg
simoll e39fe2f
'type parameters' -> 'builtin template parameters'
simoll 92bb7fc
Update tools/clang/include/clang/Basic/DiagnosticSemaKinds.td
simoll 6bb2dbf
Update tools/clang/lib/Sema/SemaHLSL.cpp
simoll e0e063a
Update tools/clang/lib/Sema/SemaHLSL.cpp
simoll c039f8c
Update tools/clang/lib/Sema/SemaHLSL.cpp
simoll 2a7b39c
Update tools/clang/lib/Sema/SemaHLSLDiagnoseTU.cpp
simoll 21447bc
Update tools/clang/lib/Sema/SemaHLSL.cpp
simoll 2be84a2
Update tools/clang/lib/Sema/SemaHLSL.cpp
simoll 85746fb
Update tools/clang/lib/Sema/SemaHLSL.cpp
simoll 36d678c
Update tools/clang/test/SemaHLSL/hlsl/types/invalid-hitobject-decls-s…
simoll 96c6b8c
Update tools/clang/lib/Sema/SemaHLSL.cpp
simoll c07e548
static_cast<unsigned>(TypeDiagContext)
simoll 004dc1d
Default case: accept as non-Empty and add comment that only recursive
simoll 244c59c
Update tools/clang/lib/Sema/SemaHLSL.cpp
simoll fa895f7
function description
simoll 9db0556
Clang format
simoll e7f8c5a
Assert TypeDiagContext enum value compatible with unsupported_long_ve…
simoll fea88fb
Update tools/clang/lib/Sema/SemaHLSL.cpp
simoll 701c680
Fold isGroupShared in with isStatic/isGlobal diag case
simoll 001eb50
Clang format
simoll ae98e48
Fold unsupported_long_vec into DiagnoseElementTypes
simoll 2fd825f
Remove HLSLLongVector tracking bit (DiagnoseElementTypes descends into
simoll 43449f4
Merge remote-tracking branch 'msft/main' into ser_diaghitobject_patch
simoll 1b8af76
Update test after merge
simoll 36e9615
Revert "Update test after merge"
tex3d 4b34518
Recurse bases in IsHLSLCopyableAnnotatableRecord
tex3d 58b7642
Diagnose long vector in payload call argument case
tex3d File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I confess I didn't anticpate that merging the longvector check with the other type checks would result in removing this bit, but I see how it follows and I don't object.