aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/LowerInvoke.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2010-08-23 07:55:51 +0000
committerChandler Carruth <chandlerc@gmail.com>2010-08-23 07:55:51 +0000
commitc9262401729824caa25001e341832d689596023a (patch)
tree79fc7dffeb9a0ba5379ce24309d451d5d63e669b /llvm/lib/Transforms/Utils/LowerInvoke.cpp
parentcbbe4501df835f48a14718cd274aa7916b94ebcb (diff)
downloadllvm-c9262401729824caa25001e341832d689596023a.zip
llvm-c9262401729824caa25001e341832d689596023a.tar.gz
llvm-c9262401729824caa25001e341832d689596023a.tar.bz2
Relax the construction of a definition for implicit, trivial default
constructors. We perform semantic checking when creating the definition, and this isn't needed in certain contexts (value initialization) but is in others (default initialization). This fixes PR7948. We add explicit code to the default initialization path to ensure the definition is both present and valid. Doug, please review. I think this follows your latest suggestion, and it ended up remarkably cleaner than I anticipated. Also let me know if similar logic should be followed for destructors and copy-constructors. llvm-svn: 111802
Diffstat (limited to 'llvm/lib/Transforms/Utils/LowerInvoke.cpp')
0 files changed, 0 insertions, 0 deletions