[Bug 16762] New: expression evaluation of an rvalue reference does not have a type with &&

Bug ID 16762
Summary expression evaluation of an rvalue reference does not have a type with &&
Product lldb
Version unspecified
Hardware PC
OS Linux
Status NEW
Severity normal
Priority P
Component All Bugs
Assignee lldb-dev@cs.uiuc.edu
Reporter ashok.thirumurthi@intel.com
Classification Unclassified

Reproducer: dotest.py --executable=/path/to/lldb lang/cpp/rvalue-reference

Expected:
  (lldb) p i
  (int &&) $1 = 3

Actual:
  (lldb) p i
  (int) $1 = 3

Note: When DW_TAG_rvalue_reference_type is available (clang trunk, gcc 4.8),
the ClangASTType is resolved by lldb, and the following test works as expected:

(lldb) frame variable i
(int &&) i = 0x00007fffc6c88768: {
  &i = 3
}

Reproduced on Linux (see the buildbots), not tested on OS/X.

Ashok Thirumurthi changed bug 16762