[PATCH] D35041: [analyzer] Fix modeling of bool based types

Artem Dergachev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 10 12:02:59 PDT 2017


NoQ accepted this revision.
NoQ added inline comments.
This revision is now accepted and ready to land.


================
Comment at: test/Analysis/enum.cpp:50
+
+typedef __INTPTR_TYPE__ intptr_t;
+bool testNoCrashOnSwitchEnumBoolConstantCastedFromNullptr() {
----------------
Nice! Will use in my tests.


Repository:
  rL LLVM

https://reviews.llvm.org/D35041





More information about the cfe-commits mailing list