Test commit:  make a little stub routine for semantic checking of main().

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@76934 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Sema/SemaDecl.cpp b/lib/Sema/SemaDecl.cpp
index 617943f..4548965 100644
--- a/lib/Sema/SemaDecl.cpp
+++ b/lib/Sema/SemaDecl.cpp
@@ -2635,6 +2635,8 @@
     return NewFD->setInvalidDecl();
   }
 
+  if (NewFD->isMain()) CheckMain(NewFD);
+
   // Semantic checking for this function declaration (in isolation).
   if (getLangOptions().CPlusPlus) {
     // C++-specific checks.
@@ -2764,6 +2766,10 @@
     CheckCXXDefaultArguments(NewFD);
 }
 
+void Sema::CheckMain(FunctionDecl* FD) {
+  // FIXME: implement.
+}
+
 bool Sema::CheckForConstantInitializer(Expr *Init, QualType DclT) {
   // FIXME: Need strict checking.  In C89, we need to check for
   // any assignment, increment, decrement, function-calls, or