-
Notifications
You must be signed in to change notification settings - Fork 342
[lldb] Fix misleading indentation in ABISysV_x86_64.cpp #2935
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
[lldb] Fix misleading indentation in ABISysV_x86_64.cpp #2935
Conversation
@JDevlieghere where do you think the best place is for the cmake addition? |
This is a good change, but should we be pushing for this on llvm github (upstream) instead? |
This is clearly great, I just wonder if escalating this to |
Upstream: My plan was to merge here first, and then try for upstream. But in that plan I was making an assumption: that we are willing to differ from upstream. But is that true? If people don't want this upstream, do we still want it here? Warning vs error: I couldn't think of a case where we would want to allow broken indentation. If it's only a warning, we may not see it, and even if we do see it, would it be fixed? A typical build-script invocation has a lot of output, including warnings, so using a warning might be no different than having no warning. |
Re warning vs error: We may want to use |
Let's start with warning, and if we find that's not strict enough we can make it an error as a second step. |
This is now limited to a fix for |
@swift-ci test |
Pre-emptive fix for [eventual use of](https://reviews.llvm.org/D102092) `-Wmisleading-indentation`. See also #2928. (cherry picked from #2935)
Pre-emptive fix for eventual use of
-Wmisleading-indentation
.See also #2928.