-
Notifications
You must be signed in to change notification settings - Fork 798
[NFC][SYCL] Add/Remove punctuation #4830
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
Conversation
Change diagnostic punctuation to be consistent with Clang diagnostics Signed-off-by: Elizabeth Andrews <elizabeth.andrews@intel.com>
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.
Thanks for the change.
Are there no tests affected by this? That's a bit surprising. |
The tests only check for the first half of diagnostic. So it doesn't fail |
Could we expand what it checks? It seems that the latter part of diagnostics can "slip by" otherwise. |
I can do that. We do have a lot of tests written this way in Clang though - where you don't check the entire diagnostic because checking the first part is enough to ensure the diagnostic has been emitted. Do you want to start enforcing this in reviews going forward? I don't at the moment since it is existing practice, and personally don't feel it is required |
What do you think about having at least one place where a diagnostic is checked in its entirety (with wildcards where appropriate), but elsewhere just enough to verify its emission, for convenience? @smanna12, your thoughts? |
I personally feel to check the entire diagnostic. In case we update the diag, it would be easier to verify its emission with complete one for convenience . |
Signed-off-by: Elizabeth Andrews <elizabeth.andrews@intel.com>
Done. I added the full diagnostic. Thanks for the review! |
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.
Thanks for the changes.
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.
Thank you for the changes, LGTM
Change diagnostic punctuation to be consistent with Clang
diagnostics
Signed-off-by: Elizabeth Andrews elizabeth.andrews@intel.com