Provides -p as a short alias for -pretty-print. Motivation: https://bugs.llvm.org/show_bug.cgi?id=40076
Details
Diff Detail
- Repository
- rL LLVM
- Build Status
Buildable 26627 Build 26626: arc lint + arc unit
Event Timeline
Thanks for working on this!
test/tools/llvm-symbolizer/sym.test | ||
---|---|---|
22 | Nit, here and in the line above we're being inconsistent with the number of '-' characters used to prefix options (single dash for llvm-symbolizer, double for FileCheck). It would be nice if they were consistent. I have a marginal preference for double dash, but I don't mind if you want to go the other way. | |
tools/llvm-symbolizer/llvm-symbolizer.cpp | ||
86 | It looks like this line needs clang-formatting. Aliases aren't in the help text by default, but you can make them be by adding the cl::NotHidden attribute. I think you should do that. |
test/tools/llvm-symbolizer/sym.test | ||
---|---|---|
22 | This is an opinionated question and I shall do as it comfortable to others for any historical reason. |
test/tools/llvm-symbolizer/sym.test | ||
---|---|---|
22 | I'm not sure I understand what you mean? I think that there was no good reason to use a mixture of single and double dashes before. You can change the other lines in the test to make them all match. |
test/tools/llvm-symbolizer/sym.test | ||
---|---|---|
22 | I agree, will take in account in future. I skimmed other tests and notices this pattern. |
Nit, here and in the line above we're being inconsistent with the number of '-' characters used to prefix options (single dash for llvm-symbolizer, double for FileCheck). It would be nice if they were consistent. I have a marginal preference for double dash, but I don't mind if you want to go the other way.