diff options
author | Francois Pichet <pichet2000@gmail.com> | 2012-04-16 04:08:35 +0000 |
---|---|---|
committer | Francois Pichet <pichet2000@gmail.com> | 2012-04-16 04:08:35 +0000 |
commit | 0066db90394ee6153e3f4f0c8ab21acadc8932e1 (patch) | |
tree | 78b92e8082319bc309572c93ab8ca9ccbbe2a180 /llvm/configure | |
parent | 7f1ff60021c534cef6372c693b42498fd34bde3c (diff) | |
download | bcm5719-llvm-0066db90394ee6153e3f4f0c8ab21acadc8932e1.tar.gz bcm5719-llvm-0066db90394ee6153e3f4f0c8ab21acadc8932e1.zip |
The result of the Microsoft __uuidof operator must be considered a global lvalue during constant expression evaluation.
Otherwise we would get this error in C++11 mode (because of a recent change):
error: non-type template argument of type 'const _GUID *' is not a constant expression
For code like:
template <const GUID* g = &__uuidof(struct_with_uuid)>
class COM_CLASS { };
llvm-svn: 154790
Diffstat (limited to 'llvm/configure')
0 files changed, 0 insertions, 0 deletions