Skip to content

[NFC] containsLongVector -> ContainsLongVector #7255

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

Conversation

llvm-beanz
Copy link
Collaborator

I provided feedback during code review that this function should be named following LLVM conventions. That feedback did not account for the fact that SemaHLSL is otherwise consistent using CamelCase instead of camelCase naming.

This corrects my error by renaming to match the consistent style in SemaHLSL.h.

I've also updated the parameter naming in the source file to conform to LLVM style since I was in the area anyways.

I provided feedback during code review that this function should be
named following LLVM conventions. That feedback did not account for the
fact that SemaHLSL is otherwise consistent using CamelCase instead of
camelCase naming.

This corrects my error by renaming to match the consistent style in
SemaHLSL.h.

I've also updated the parameter naming in the source file to conform to
LLVM style since I was in the area anyways.
@tex3d
Copy link
Contributor

tex3d commented Mar 26, 2025

I've also updated the parameter naming in the source file to conform to LLVM style since I was in the area anyways.

Did I miss something? I don't see this part of the change.

tex3d
tex3d previously approved these changes Mar 26, 2025
@llvm-beanz
Copy link
Collaborator Author

I've also updated the parameter naming in the source file to conform to LLVM style since I was in the area anyways.

Did I miss something? I don't see this part of the change.

Ooops. Didn't push that bit. It's there now.

Copy link
Contributor

github-actions bot commented Mar 26, 2025

✅ With the latest revision this PR passed the C/C++ code formatter.

bogner
bogner previously approved these changes Mar 26, 2025
while (const ArrayType *Arr = qt->getAsArrayTypeUnsafe())
qt = Arr->getElementType();
while (const ArrayType *Arr = QT->getAsArrayTypeUnsafe())
QT = Arr->getElementType();
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like an accidental reformat mistake here.

@llvm-beanz llvm-beanz merged commit 9e91844 into microsoft:main Apr 7, 2025
12 checks passed
@llvm-beanz llvm-beanz deleted the cbieneman/fix-code-review-mistake branch April 7, 2025 19:22
@github-project-automation github-project-automation bot moved this from New to Done in HLSL Roadmap Apr 7, 2025
@damyanp damyanp moved this to Closed in HLSL Support Apr 25, 2025
@damyanp damyanp removed this from HLSL Support Jun 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

4 participants