[PATCH] D31029: [analyzer] Fix logical not for pointers with different bit width

Noel Grandin via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 16 11:45:25 PDT 2017


grandinj added inline comments.


================
Comment at: include/clang/StaticAnalyzer/Core/PathSensitive/SValBuilder.h:313
 
-  Loc makeNull() {
-    return loc::ConcreteInt(BasicVals.getZeroWithPtrWidth());
+  // Pass type to accomodate for different pointer bit-witdths of different
+  // address spaces.
----------------
spelling and grammar and doxygen formatting:

/// \param type accommodate different pointer bit-widths of different address spaces.


Repository:
  rL LLVM

https://reviews.llvm.org/D31029





More information about the cfe-commits mailing list