[PATCH] D51949: [clang-tidy] new check 'readability-isolate-declaration'

Roman Lebedev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 26 07:00:00 PDT 2018


lebedev.ri added inline comments.


================
Comment at: test/clang-tidy/readability-isolate-declaration.cpp:233
+  int member1, member2;
+  // TODO: Transform FieldDecl's as well
+};
----------------
Comment is misleading. Transform == fixit, at least for me.
But they are not even diagnosed.
So maybe
```
// TODO: Handle FieldDecl's as well
```


Repository:
  rCTE Clang Tools Extra

https://reviews.llvm.org/D51949





More information about the cfe-commits mailing list