inline2.c revision c4d2c9074be6eb2091086eddd6c8f052f3b245c8
1// RUN: %clang_cc1 -analyze -analyzer-checker=core -analyzer-inline-call -analyzer-store region -verify %s 2 3// Test parameter 'a' is registered to LiveVariables analysis data although it 4// is not referenced in the function body. 5// Before processing 'return 1;', in RemoveDeadBindings(), we query the liveness 6// of 'a', because we have a binding for it due to parameter passing. 7int f1(int a) { 8 return 1; 9} 10 11void f2() { 12 int x; 13 x = f1(1); 14} 15