aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorHoward Hinnant <hhinnant@apple.com>2013-11-14 22:52:25 +0000
committerHoward Hinnant <hhinnant@apple.com>2013-11-14 22:52:25 +0000
commitf9fd0d6d113ce53783ee78fc58476172df79d249 (patch)
treee3bcce3dda47a6583dd0eccc4ee4925852991563 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parentae78e23e5f43e5d78fa0550e7dce64c21c758839 (diff)
downloadllvm-f9fd0d6d113ce53783ee78fc58476172df79d249.zip
llvm-f9fd0d6d113ce53783ee78fc58476172df79d249.tar.gz
llvm-f9fd0d6d113ce53783ee78fc58476172df79d249.tar.bz2
This is a followup to r194536, which changed the pair copy constructor to be
trivial in C++03, thus making it trivial in both C++03 and C++11. This patch allows one to opt-in/out of this decision with a macro. You can choose to have the pair copy constructor always be trivial, or always be non-trivial. The flag controlling this is now _LIBCPP_TRIVIAL_PAIR_COPY_CTOR. The client can define this flag to 1, and the pair copy constructor will be trivial (when possible of course), or to 0, and the pair copy constructor will be nontrivial. Default settings for this flag are set in <__config> (as usual). With this commit the default is _LIBCPP_TRIVIAL_PAIR_COPY_CTOR=1 for all platforms except __APPLE__, which defaults to _LIBCPP_TRIVIAL_PAIR_COPY_CTOR=0. llvm-svn: 194742
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions