NoQ added a comment.

Yay, now that's a lot cleaner!

Regarding style, recently we tend to ask for updating the style in the new 
code, and i don't think the Golden Rule 
(http://llvm.org/docs/CodingStandards.html#introduction) does much in our case, 
but i don't have a strong opinion on that. Maybe we could make a checker to 
make sure all SValBuilder references are called, say, `SVB`, and all `SVal` 
instances have names ending with `Val`, and have ourselves fix all the issues 
reported :) But because the analyzer is done by very few people, i don't think 
this would happen soon, but having the new code stylish is kind of nice anyway.

However, the null-check for the argument expression is also a performance issue 
(the compiler would never guess it's always non-null), so i believe it should 
definitely be removed.


Repository:
  rL LLVM

https://reviews.llvm.org/D30771



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to