diff options
author | Siva Chandra <sivachandra@google.com> | 2015-04-15 18:35:29 +0000 |
---|---|---|
committer | Siva Chandra <sivachandra@google.com> | 2015-04-15 18:35:29 +0000 |
commit | 9e7a8172a3f4f26062a9866aa874ff3b5776e49d (patch) | |
tree | 27b9aef764347849051306ea80fd1a986229a637 /llvm/lib/CodeGen/MachineModuleInfo.cpp | |
parent | 631303892512c6fb061bbbdad4b34dade9cbe38a (diff) | |
download | llvm-9e7a8172a3f4f26062a9866aa874ff3b5776e49d.zip llvm-9e7a8172a3f4f26062a9866aa874ff3b5776e49d.tar.gz llvm-9e7a8172a3f4f26062a9866aa874ff3b5776e49d.tar.bz2 |
[TestRvalueReferences] Fix an expectation.
Summary:
If 'i' is an rvalue reference to an 'int', evaluating it with the
'expression' command will return an 'int' value and not an 'int &&'.
Before this patch, an 'int &&' type was expected.
Enabled the test for clang and gcc as all parts of the test now pass
when the testcase is compiled with them.
Test Plan: dotest.py -C <gcc|clang> -p TestRvalueReferences
Reviewers: spyffe, chaoren
Subscribers: lldb-commits
Differential Revision: http://reviews.llvm.org/D9005
llvm-svn: 235036
Diffstat (limited to 'llvm/lib/CodeGen/MachineModuleInfo.cpp')
0 files changed, 0 insertions, 0 deletions