]> granicus.if.org Git - clang/commit
The code using the StmtPrinterHelper object failed to account for a null object in...
authorAaron Ballman <aaron@aaronballman.com>
Mon, 18 Nov 2013 20:11:50 +0000 (20:11 +0000)
committerAaron Ballman <aaron@aaronballman.com>
Mon, 18 Nov 2013 20:11:50 +0000 (20:11 +0000)
commit29fc11a7abc06c30146a0ba3733da1c758586784
tree04c11231fa638afda2b015e48899d329440320a0
parentcdf7cfc16b340a39e52be769d533049a88dca770
The code using the StmtPrinterHelper object failed to account for a null object in many cases, which could have led to crashes were it ever to be null. Now passing the object by reference instead of by pointer because it is never null in practice. No functional changes intended.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@195043 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/CFG.cpp