diff options
author | David Blaikie <dblaikie@gmail.com> | 2014-05-08 22:24:51 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2014-05-08 22:24:51 +0000 |
commit | 2f143e0c301cc61993c9864fd799c75b4c63babf (patch) | |
tree | eb8831687fdd01aae89c88fd9cb89e553f784748 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 35744c4753d0b9b02eedbd89fffa240e1d0adaf0 (diff) | |
download | llvm-2f143e0c301cc61993c9864fd799c75b4c63babf.zip llvm-2f143e0c301cc61993c9864fd799c75b4c63babf.tar.gz llvm-2f143e0c301cc61993c9864fd799c75b4c63babf.tar.bz2 |
Reapply r207876 (Try simplifying LexicalScopes ownership again) including a workaround for an MSVC2012 bug regarding forward_as_tuple
(r207876 was reverted in r208131 after seeing some consistent buildbot
failure for MSVC 2012. The original commits were in r207724-r207726)
Takumi was nice enough to dig into this and locate this Microsoft
Connect issue:
http://connect.microsoft.com/VisualStudio/feedback/details/814899/forward-as-tuple-debug-implementation-error
describing a bug in MSVC2012's forward_as_tuple implementation.
Since the parameters in this instance are trivial/small, pass them by
value (using make_tuple) instead of perfectly-forwarded tuple of rvalue
references (involving the broken forward_as_tuple). Hopefully this will
satisfy MSVC2012.
llvm-svn: 208364
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions