[SERVER-46620] clang_format.py allows mixed indentation Created: 04/Mar/20 Updated: 27/Oct/23 Resolved: 21/May/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Build |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | Marcos José Grillo Ramirez | Assignee: | Robert Guo (Inactive) |
| Resolution: | Works as Designed | Votes: | 0 |
| Labels: | clang-format | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Operating System: | ALL |
| Steps To Reproduce: |
|
| Participants: |
| Description |
|
Before submitting any code to the commit queue, it is recommended to run the clang format utility, however, a tab indentation was not replaced on a jstest file, even though a configuration parameter is set on the .clang-format file: https://github.com/mongodb/mongo/blob/1ff7ccd082d3290d13b1b540f97bdc1e33f29ad6/.clang-format#L232 |
| Comments |
| Comment by Robert Guo (Inactive) [ 21/May/20 ] | |||||
I was not able to repro the problem locally on a recent version of the mongo repo. Please try it again on a newly checked out mongo repo and paste all the input and output from your terminal if you're still seeing this problem. |