]> granicus.if.org Git - clang/commitdiff
Remove some boilerplate comments that don't explain anything.
authorEric Christopher <echristo@gmail.com>
Tue, 20 Sep 2016 19:45:06 +0000 (19:45 +0000)
committerEric Christopher <echristo@gmail.com>
Tue, 20 Sep 2016 19:45:06 +0000 (19:45 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@282007 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Driver/Tools.cpp

index f3f40f2bd1fbefe369f638da4ad76c9fe5f1c539..0cfcf4a95118332c47beee113be57edad892aa68 100644 (file)
@@ -108,8 +108,6 @@ static const char *getSparcAsmModeForCPU(StringRef Name,
   }
 }
 
-/// CheckPreprocessingOptions - Perform some validation of preprocessing
-/// arguments that is shared with gcc.
 static void CheckPreprocessingOptions(const Driver &D, const ArgList &Args) {
   if (Arg *A = Args.getLastArg(options::OPT_C, options::OPT_CC)) {
     if (!Args.hasArg(options::OPT_E) && !Args.hasArg(options::OPT__SLASH_P) &&
@@ -121,8 +119,6 @@ static void CheckPreprocessingOptions(const Driver &D, const ArgList &Args) {
   }
 }
 
-/// CheckCodeGenerationOptions - Perform some validation of code generation
-/// arguments that is shared with gcc.
 static void CheckCodeGenerationOptions(const Driver &D, const ArgList &Args) {
   // In gcc, only ARM checks this, but it seems reasonable to check universally.
   if (Args.hasArg(options::OPT_static))