Go to file
Steve Naroff c27f89ebb3 Bug #:
Submitted by:
Reviewed by:
Apply UsualUnaryConversion() to statement conditions that expect scalars.
UsualUnaryConversion() converts function/arrays to pointers.

This fixes the following...

int func() {
  int A[10];
  while (A) {
  }
  if (A) ;
  for (; A; ) ;
}

llvm-svn: 39580
2007-06-03 18:23:48 +00:00
clang Bug #: 2007-06-03 18:23:48 +00:00
llvm Fix an oversight: for modules with no other identifying target info, 2007-07-11 16:32:10 +00:00
stacker Adjust this file per the new requirements of the configure scripts in llvm-top 2007-07-11 02:59:25 +00:00