Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
- Build Status
Buildable 43498 Build 44382: arc lint + arc unit
Event Timeline
Comment Actions
I could never seem to get the tests to handle differently in templated and non templated code. Maybe i was just being stupid. Think the root cause is that the check detects if the if column appears on a different column to either the else or the closing brace if its on the same line as the else.
clang-tools-extra/test/clang-tidy/checkers/readability-misleading-indentation.cpp | ||
---|---|---|
172 | please add an case that does not get instantiated, with both bad and good indentation. |
Comment Actions
This broke tests on Windows: http://45.33.8.238/win/5297/step_8.txt (probably due to windows using -fdelayed-template-parsing by default).
Comment Actions
I think the best approach here is to remove the tests that don’t have template instantiation.
Comment Actions
In any case, if it takes a while to come to some decision, please revert in the meantime so that trunk doesn't stay red for a long time.
please add an case that does not get instantiated, with both bad and good indentation.