]> granicus.if.org Git - clang/commit
Fix 2 cases of uninitialized reads of an invalid PresumedLoc.
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>
Wed, 11 Sep 2013 12:33:58 +0000 (12:33 +0000)
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>
Wed, 11 Sep 2013 12:33:58 +0000 (12:33 +0000)
commit2bb6dad4a44569dd2f86e7500a5ba21680718736
tree2926afbdb357fe0aa01c59bf248f7444a2fdafdc
parent73d845cbe26df2fb188e30853efb8ce4b0556afe
Fix 2 cases of uninitialized reads of an invalid PresumedLoc.

The code in CGExpr was added back in 2012 (r165536) but not exercised in tests
until recently.

Detected on the MemorySanitizer bootstrap bot.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@190521 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGExpr.cpp
tools/libclang/CXSourceLocation.cpp