Return true in case of error, which is what other functions do.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41140 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/Sema/SemaChecking.cpp b/Sema/SemaChecking.cpp
index ed4c898..1917d63 100644
--- a/Sema/SemaChecking.cpp
+++ b/Sema/SemaChecking.cpp
@@ -47,7 +47,7 @@
   // Search the KnownFunctionIDs for the identifier.
   unsigned i = 0, e = id_num_known_functions;
   for (; i != e; ++i) { if (KnownFunctionIDs[i] == FnInfo) break; }
-  if (i == e) return true;
+  if (i == e) return false;
   
   // Printf checking.
   if (i <= id_vprintf) {
@@ -74,7 +74,7 @@
 			 FDecl, format_idx, Args, NumArgsInCall);
   }
   
-  return true;
+  return false;
 }
 
 /// CheckBuiltinCFStringArgument - Checks that the argument to the builtin
@@ -90,7 +90,7 @@
     Diag(Arg->getLocStart(),
          diag::err_cfstring_literal_not_string_constant,
          Arg->getSourceRange());
-    return false;
+    return true;
   }
   
   const char *Data = Literal->getStrData();
@@ -112,7 +112,7 @@
     }
   }
   
-  return true;
+  return false;
 }
 
 /// CheckPrintfArguments - Check calls to printf (and similar functions) for