[PATCH] D29118: [clang-tidy] safety-no-vector-bool

Ben Cox via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jan 27 07:54:36 PST 2017


djehuti added inline comments.


================
Comment at: clang-tools-extra/clang-tidy/safety/NoVectorBoolCheck.cpp:52
+        << MatchedDecl;
+  }
+}
----------------
JonasToth wrote:
> maybe an safety else with an failing assert, so you can see that unexpected behaviour, see comment above
You mean like [[ http://www.codingstandard.com/rule/6-1-2-explicitly-cover-all-paths-through-multi-way-selection-statements/ | High Integrity C++ rule 6.1.2 ]]?   :wink:


https://reviews.llvm.org/D29118





More information about the cfe-commits mailing list