aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.h
diff options
context:
space:
mode:
authorVitaly Buka <vitalybuka@google.com>2016-11-15 07:32:51 +0000
committerVitaly Buka <vitalybuka@google.com>2016-11-15 07:32:51 +0000
commit029d730bade89fa97b0c4f910975f91f16682283 (patch)
tree0a9b09939cb5547ecd5806ce4b2f987d78750b23 /clang/lib/CodeGen/CodeGenFunction.h
parent1c8d933881a9990d2463c1e7772b4f4ebdb2198a (diff)
downloadllvm-029d730bade89fa97b0c4f910975f91f16682283.zip
llvm-029d730bade89fa97b0c4f910975f91f16682283.tar.gz
llvm-029d730bade89fa97b0c4f910975f91f16682283.tar.bz2
Avoid creating reference from nullptr.
Summary: getFile() can return nullptr. This usually happens when Rels is empty so the reference is never used. Still UBSAN complains. Reviewers: rafael Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D26662 llvm-svn: 286937
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
0 files changed, 0 insertions, 0 deletions