Ted Kremenek
3814359657
Revert r149359. This was a hack to a problem with an easy workaround, and it doesn't feel like general solution.
...
llvm-svn: 149404
2012-01-31 19:19:25 +00:00
Ted Kremenek
fdc870d6b2
Don't warn about -Wshorten-64-to-32 in unreachable code. Fixes <rdar://problem/10759934>. Apparently this is a common idiom in Linux (among other places).
...
llvm-svn: 149359
2012-01-31 05:37:48 +00:00
Chris Lattner
ee7286f02d
fix rdar://9546171 - -Wshorten-64-to-32 shouldn't warn on vector bitcasts.
...
llvm-svn: 132975
2011-06-14 04:51:15 +00:00
Douglas Gregor
8014df4c21
Refer to implicit "conversions" rather than implicit "casts", which
...
don't technically exist in the language. <rdar://problem/8085982>
llvm-svn: 107995
2010-07-09 18:18:35 +00:00
Daniel Dunbar
8fbe78f6fc
Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.
...
- This is designed to make it obvious that %clang_cc1 is a "test variable"
which is substituted. It is '%clang_cc1' instead of '%clang -cc1' because it
can be useful to redefine what gets run as 'clang -cc1' (for example, to set
a default target).
llvm-svn: 91446
2009-12-15 20:14:24 +00:00
John McCall
b61e9d03c1
Support -Wshorten-64-to-32 for integer types only, which seems to satisfy the
...
core requirements. Fixes rdar://problem/6389954
llvm-svn: 86364
2009-11-07 09:03:53 +00:00