[clang] f7f3e68 - [clang] Fix CCC_OVERRIDE_OPTIONS docstring to say "space separated" (NFC)

Dave Lee via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 15 10:49:53 PDT 2023


Author: Dave Lee
Date: 2023-08-15T10:33:09-07:00
New Revision: f7f3e68419683f1498dcd93a9a3c86833b199e9c

URL: https://github.com/llvm/llvm-project/commit/f7f3e68419683f1498dcd93a9a3c86833b199e9c
DIFF: https://github.com/llvm/llvm-project/commit/f7f3e68419683f1498dcd93a9a3c86833b199e9c.diff

LOG: [clang] Fix CCC_OVERRIDE_OPTIONS docstring to say "space separated" (NFC)

As well as a couple other minor docstring corrections.

Added: 
    

Modified: 
    clang/tools/driver/driver.cpp

Removed: 
    


################################################################################
diff  --git a/clang/tools/driver/driver.cpp b/clang/tools/driver/driver.cpp
index 471d0181ff0885..f1cb9bd6a919c2 100644
--- a/clang/tools/driver/driver.cpp
+++ b/clang/tools/driver/driver.cpp
@@ -79,9 +79,9 @@ static const char *GetStableCStr(std::set<std::string> &SavedStrings,
   return SavedStrings.insert(std::string(S)).first->c_str();
 }
 
-/// ApplyQAOverride - Apply a list of edits to the input argument lists.
+/// ApplyQAOneOverride - Apply a list of edits to the input argument lists.
 ///
-/// The input string is a space separate list of edits to perform,
+/// The input string is a space separated list of edits to perform,
 /// they are applied in order to the input argument lists. Edits
 /// should be one of the following forms:
 ///
@@ -177,7 +177,7 @@ static void ApplyOneQAOverride(raw_ostream &OS,
   }
 }
 
-/// ApplyQAOverride - Apply a comma separate list of edits to the
+/// ApplyQAOverride - Apply a space separated list of edits to the
 /// input argument lists. See ApplyOneQAOverride.
 static void ApplyQAOverride(SmallVectorImpl<const char*> &Args,
                             const char *OverrideStr,


        


More information about the cfe-commits mailing list