[cfe-commits] r64799 - /cfe/trunk/test/Analysis/conditional-op-missing-lhs.c
Ted Kremenek
kremenek at apple.com
Tue Feb 17 11:53:58 PST 2009
Author: kremenek
Date: Tue Feb 17 13:53:58 2009
New Revision: 64799
URL: http://llvm.org/viewvc/llvm-project?rev=64799&view=rev
Log:
Convert tabs to spaces.
Modified:
cfe/trunk/test/Analysis/conditional-op-missing-lhs.c
Modified: cfe/trunk/test/Analysis/conditional-op-missing-lhs.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Analysis/conditional-op-missing-lhs.c?rev=64799&r1=64798&r2=64799&view=diff
==============================================================================
--- cfe/trunk/test/Analysis/conditional-op-missing-lhs.c (original)
+++ cfe/trunk/test/Analysis/conditional-op-missing-lhs.c Tue Feb 17 13:53:58 2009
@@ -2,25 +2,25 @@
void f1()
{
- int i;
-
- int j = i ? : 1; // expected-warning{{use of uninitialized variable}} //expected-warning{{Value stored to 'j' during its initialization is never read}}
+ int i;
+
+ int j = i ? : 1; // expected-warning{{use of uninitialized variable}} //expected-warning{{Value stored to 'j' during its initialization is never read}}
}
void *f2(int *i)
{
- return i ? : 0;
+ return i ? : 0;
}
void *f3(int *i)
{
- int a;
-
- return &a ? : i;
+ int a;
+
+ return &a ? : i;
}
void f4()
{
- char c[1 ? : 2];
+ char c[1 ? : 2];
}
More information about the cfe-commits
mailing list