-
Notifications
You must be signed in to change notification settings - Fork 778
[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
[NFC] containsLongVector -> ContainsLongVector #7255
Conversation
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.
Did I miss something? I don't see this part of the change. |
Ooops. Didn't push that bit. It's there now. |
✅ With the latest revision this PR passed the C/C++ code formatter. |
tools/clang/lib/Sema/SemaHLSL.cpp
Outdated
while (const ArrayType *Arr = qt->getAsArrayTypeUnsafe()) | ||
qt = Arr->getElementType(); | ||
while (const ArrayType *Arr = QT->getAsArrayTypeUnsafe()) | ||
QT = Arr->getElementType(); |
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.
Looks like an accidental reformat mistake here.
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.