aboutsummaryrefslogtreecommitdiff
path: root/lib/Sema/SemaDecl.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2012-02-12 18:57:57 +0000
committerDouglas Gregor <dgregor@apple.com>2012-02-12 18:57:57 +0000
commit6d9ef30c5026e80fb398ed32bcdf69e4d714f033 (patch)
tree096eca5e103d89de7963dfac88c6c9719cb1e154 /lib/Sema/SemaDecl.cpp
parentf8af98286022f72157d84951b48fde5fb369ab29 (diff)
Implement the standard decltype() semantics described in C++11
[dcl.type.simple]p4, which treats all xvalues as returning T&&. We had previously implemented a pre-standard variant of decltype() that doesn't cope with, e.g., static_ast<T&&>(e) very well. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@150348 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaDecl.cpp')
0 files changed, 0 insertions, 0 deletions