[llvm] r197642 - add source in comment

Adrian Prantl aprantl at apple.com
Wed Dec 18 17:41:16 PST 2013


Author: adrian
Date: Wed Dec 18 19:41:16 2013
New Revision: 197642

URL: http://llvm.org/viewvc/llvm-project?rev=197642&view=rev
Log:
add source in comment

Modified:
    llvm/trunk/test/DebugInfo/debug-info-qualifiers.ll

Modified: llvm/trunk/test/DebugInfo/debug-info-qualifiers.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/DebugInfo/debug-info-qualifiers.ll?rev=197642&r1=197641&r2=197642&view=diff
==============================================================================
--- llvm/trunk/test/DebugInfo/debug-info-qualifiers.ll (original)
+++ llvm/trunk/test/DebugInfo/debug-info-qualifiers.ll Wed Dec 18 19:41:16 2013
@@ -1,6 +1,18 @@
 ; Test (r)value qualifiers on C++11 non-static member functions.
 ; Generated from tools/clang/test/CodeGenCXX/debug-info-qualifiers.cpp
 ;
+; class A {
+; public:
+;   void l() const &;
+;   void r() const &&;
+; };
+;
+; void g() {
+;   A a;
+;   auto pl = &A::l;
+;   auto pr = &A::r;
+; }
+;
 ; RUN: llc -filetype=obj -O0 < %s | llvm-dwarfdump - | FileCheck %s
 ; CHECK: DW_TAG_subroutine_type     DW_CHILDREN_yes
 ; CHECK-NEXT: DW_AT_reference  DW_FORM_flag_present





More information about the llvm-commits mailing list