[clang-tools-extra] be572e1 - [clangd] NFC: Fix doc typos

Kirill Bobyrev via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 7 03:57:23 PDT 2022


Author: Kirill Bobyrev
Date: 2022-04-07T12:56:56+02:00
New Revision: be572e1e1d297039129b0c4ff2deffd817e42f30

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

LOG: [clangd] NFC: Fix doc typos

Added: 
    

Modified: 
    clang-tools-extra/clangd/Config.h
    clang-tools-extra/clangd/ConfigFragment.h

Removed: 
    


################################################################################
diff  --git a/clang-tools-extra/clangd/Config.h b/clang-tools-extra/clangd/Config.h
index f84b5ef1ffb58..c693aee56ce57 100644
--- a/clang-tools-extra/clangd/Config.h
+++ b/clang-tools-extra/clangd/Config.h
@@ -17,7 +17,7 @@
 //
 // Because this structure is shared throughout clangd, it's a potential source
 // of layering problems. Config should be expressed in terms of simple
-// vocubulary types where possible.
+// vocabulary types where possible.
 //
 //===----------------------------------------------------------------------===//
 

diff  --git a/clang-tools-extra/clangd/ConfigFragment.h b/clang-tools-extra/clangd/ConfigFragment.h
index cbaf6deb69de5..3c574bace2221 100644
--- a/clang-tools-extra/clangd/ConfigFragment.h
+++ b/clang-tools-extra/clangd/ConfigFragment.h
@@ -235,14 +235,14 @@ struct Fragment {
     /// Controls how clang-tidy will run over the code base.
     ///
     /// The settings are merged with any settings found in .clang-tidy
-    /// configiration files with these ones taking precedence.
+    /// configuration files with these ones taking precedence.
     struct ClangTidyBlock {
       std::vector<Located<std::string>> Add;
       /// List of checks to disable.
       /// Takes precedence over Add. To enable all llvm checks except include
       /// order:
       ///   Add: llvm-*
-      ///   Remove: llvm-include-onder
+      ///   Remove: llvm-include-order
       std::vector<Located<std::string>> Remove;
 
       /// A Key-Value pair list of options to pass to clang-tidy checks


        


More information about the cfe-commits mailing list