Richard Smith 6cbd65d84d Add a __builtin_addressof that performs the same functionality as the built-in
& operator (ignoring any overloaded operator& for the type). The purpose of
this builtin is for use in std::addressof, to allow it to be made constexpr;
the existing implementation technique (reinterpret_cast to some reference type,
take address, reinterpert_cast back) does not permit this because
reinterpret_cast between reference types is not permitted in a constant
expression in C++11 onwards.

llvm-svn: 186053
2013-07-11 02:27:57 +00:00
..
2013-05-07 20:31:37 +00:00
2010-05-07 00:42:33 +00:00
2010-05-07 00:42:33 +00:00
2010-05-07 00:42:33 +00:00
2010-05-07 00:42:33 +00:00
2012-12-12 23:02:30 +00:00
2010-05-07 00:42:33 +00:00
2010-05-07 00:42:33 +00:00

See llvm/docs/README.txt