Add initial implementation of checking for uses of floating point as a loop counter.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@76833 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Frontend/AnalysisConsumer.cpp b/lib/Frontend/AnalysisConsumer.cpp
index 7d1dc05..dfbd856 100644
--- a/lib/Frontend/AnalysisConsumer.cpp
+++ b/lib/Frontend/AnalysisConsumer.cpp
@@ -492,6 +492,11 @@
   }
 }
 
+static void ActionSecuritySyntacticChecks(AnalysisManager &mgr) {
+  BugReporter BR(mgr);  
+  CheckSecuritySyntaxOnly(mgr.getCodeDecl(), BR);
+}
+
 static void ActionWarnObjCDealloc(AnalysisManager& mgr) {
   if (mgr.getLangOptions().getGCMode() == LangOptions::GCOnly)
     return;