From: Eric Christopher Date: Tue, 20 Sep 2016 19:45:06 +0000 (+0000) Subject: Remove some boilerplate comments that don't explain anything. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1be4cc56c26945b7e14a361117e2b426e47aede9;p=clang Remove some boilerplate comments that don't explain anything. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@282007 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Driver/Tools.cpp b/lib/Driver/Tools.cpp index f3f40f2bd1..0cfcf4a951 100644 --- a/lib/Driver/Tools.cpp +++ b/lib/Driver/Tools.cpp @@ -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))