]> granicus.if.org Git - clang/commitdiff
Add comments to test case.
authorZhongxing Xu <xuzhongxing@gmail.com>
Wed, 3 Mar 2010 01:02:48 +0000 (01:02 +0000)
committerZhongxing Xu <xuzhongxing@gmail.com>
Wed, 3 Mar 2010 01:02:48 +0000 (01:02 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97619 91177308-0d34-0410-b5e6-96231b3b80d8

test/Analysis/inline2.c

index 9029fb9c6701d98e455c8b3a97c9a80cb7d376e5..e2758c160a8959caff8b65c7ccac2aec4627154b 100644 (file)
@@ -2,6 +2,8 @@
 
 // Test parameter 'a' is registered to LiveVariables analysis data although it
 // is not referenced in the function body. 
+// Before processing 'return 1;', in RemoveDeadBindings(), we query the liveness
+// of 'a', because we have a binding for it due to parameter passing.
 int f1(int a) {
   return 1;
 }