[cfe-commits] r93124 - /cfe/trunk/lib/Frontend/RewriteObjC.cpp
Benjamin Kramer
benny.kra at googlemail.com
Sun Jan 10 11:57:50 PST 2010
Author: d0k
Date: Sun Jan 10 13:57:50 2010
New Revision: 93124
URL: http://llvm.org/viewvc/llvm-project?rev=93124&view=rev
Log:
Silence MSVC warning.
RewriteObjC.cpp(4419) : warning C4804: '>' : unsafe use of type 'bool' in operation
Modified:
cfe/trunk/lib/Frontend/RewriteObjC.cpp
Modified: cfe/trunk/lib/Frontend/RewriteObjC.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Frontend/RewriteObjC.cpp?rev=93124&r1=93123&r2=93124&view=diff
==============================================================================
--- cfe/trunk/lib/Frontend/RewriteObjC.cpp (original)
+++ cfe/trunk/lib/Frontend/RewriteObjC.cpp Sun Jan 10 13:57:50 2010
@@ -4416,7 +4416,7 @@
std::string RewriteObjC::SynthesizeByrefCopyDestroyHelper(VarDecl *VD,
int flag) {
std::string S;
- if (CopyDestroyCache.count(flag) > 0)
+ if (CopyDestroyCache.count(flag))
return S;
CopyDestroyCache.insert(flag);
S = "static void __Block_byref_id_object_copy_";
More information about the cfe-commits
mailing list