[PATCH] D58785: [llvm-cxxfilt]Add test to show that empty lines can be handled
    James Henderson via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Tue Mar 12 08:45:06 PDT 2019
    
    
  
This revision was automatically updated to reflect the committed changes.
Closed by commit rL355929: [llvm-cxxfilt]Add test to show that empty lines can be handled (authored by jhenderson, committed by ).
Changed prior to commit:
  https://reviews.llvm.org/D58785?vs=188736&id=190271#toc
Repository:
  rL LLVM
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D58785/new/
https://reviews.llvm.org/D58785
Files:
  llvm/trunk/test/tools/llvm-cxxfilt/empty-line.test
Index: llvm/trunk/test/tools/llvm-cxxfilt/empty-line.test
===================================================================
--- llvm/trunk/test/tools/llvm-cxxfilt/empty-line.test
+++ llvm/trunk/test/tools/llvm-cxxfilt/empty-line.test
@@ -0,0 +1,9 @@
+# Show that llvm-cxxfilt can handle empty lines in the input.
+RUN: echo "" > %t
+RUN: echo "_Z3foov" >> %t
+RUN: echo "" >> %t
+RUN: llvm-cxxfilt < %t | FileCheck %s
+
+CHECK:       {{^$}}
+CHECK-NEXT:  foo()
+CHECK-EMPTY:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D58785.190271.patch
Type: text/x-patch
Size: 477 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190312/fad6d80c/attachment.bin>
    
    
More information about the llvm-commits
mailing list