summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGDebugInfo.h
diff options
context:
space:
mode:
authorPavel Labath <labath@google.com>2013-08-30 08:52:28 +0000
committerPavel Labath <labath@google.com>2013-08-30 08:52:28 +0000
commit58934986f220dec8b75a76c2de03db029b65f336 (patch)
tree06f1d9b9f31d9df0ed3252de7f56cad54c187c62 /clang/lib/CodeGen/CGDebugInfo.h
parentf79b0b15623a9138d629dac7f7928fa9630d83bc (diff)
downloadbcm5719-llvm-58934986f220dec8b75a76c2de03db029b65f336.tar.gz
bcm5719-llvm-58934986f220dec8b75a76c2de03db029b65f336.zip
Sema: avoid reuse of Exprs when synthesizing operator=
Summary: Previously, Sema was reusing parts of the AST when synthesizing an assignment operator, turning it into a AS-dag. This caused problems for the static analyzer, which assumed an expression appears in the tree only once. Here I make sure to always create a fresh Expr, when inserting something into the AST, fixing PR16745 in the process. Reviewers: doug.gregor CC: cfe-commits, jordan_rose Differential Revision: http://llvm-reviews.chandlerc.com/D1425 llvm-svn: 189659
Diffstat (limited to 'clang/lib/CodeGen/CGDebugInfo.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud