r282007 - Remove some boilerplate comments that don't explain anything.

Eric Christopher via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 20 12:45:06 PDT 2016


Author: echristo
Date: Tue Sep 20 14:45:06 2016
New Revision: 282007

URL: http://llvm.org/viewvc/llvm-project?rev=282007&view=rev
Log:
Remove some boilerplate comments that don't explain anything.

Modified:
    cfe/trunk/lib/Driver/Tools.cpp

Modified: cfe/trunk/lib/Driver/Tools.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/Tools.cpp?rev=282007&r1=282006&r2=282007&view=diff
==============================================================================
--- cfe/trunk/lib/Driver/Tools.cpp (original)
+++ cfe/trunk/lib/Driver/Tools.cpp Tue Sep 20 14:45:06 2016
@@ -108,8 +108,6 @@ static const char *getSparcAsmModeForCPU
   }
 }
 
-/// 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(co
   }
 }
 
-/// 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))




More information about the cfe-commits mailing list