summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/modularize
diff options
context:
space:
mode:
authorKazuaki Ishizaki <ishizaki@jp.ibm.com>2020-01-04 10:28:41 -0500
committerAaron Ballman <aaron@aaronballman.com>2020-01-04 10:28:41 -0500
commitb7ecf1c1c373c53183ef6ef66efbe4237ff7b96d (patch)
tree02e12313b27fbae77d0097e26edbf030b0a2dbb2 /clang-tools-extra/modularize
parentca8b20ca3ba10288b61a083c4ce57fb011124935 (diff)
downloadbcm5719-llvm-b7ecf1c1c373c53183ef6ef66efbe4237ff7b96d.tar.gz
bcm5719-llvm-b7ecf1c1c373c53183ef6ef66efbe4237ff7b96d.zip
NFC: Fix trivial typos in comments
Diffstat (limited to 'clang-tools-extra/modularize')
-rw-r--r--clang-tools-extra/modularize/Modularize.cpp2
-rw-r--r--clang-tools-extra/modularize/PreprocessorTracker.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/clang-tools-extra/modularize/Modularize.cpp b/clang-tools-extra/modularize/Modularize.cpp
index 1905fdf4e2a..749afdfd18e 100644
--- a/clang-tools-extra/modularize/Modularize.cpp
+++ b/clang-tools-extra/modularize/Modularize.cpp
@@ -20,7 +20,7 @@
// map.
//
// Modularize takes as input either one or more module maps (by default,
-// "module.modulemap") or one or more text files contatining lists of headers
+// "module.modulemap") or one or more text files containing lists of headers
// to check.
//
// In the case of a module map, the module map must be well-formed in
diff --git a/clang-tools-extra/modularize/PreprocessorTracker.cpp b/clang-tools-extra/modularize/PreprocessorTracker.cpp
index d54d76cbc67..c5e08246c28 100644
--- a/clang-tools-extra/modularize/PreprocessorTracker.cpp
+++ b/clang-tools-extra/modularize/PreprocessorTracker.cpp
@@ -54,7 +54,7 @@
// To check for '#include' directives nested inside 'Extern "C/C++" {}'
// or 'namespace {}' blocks, we keep track of the '#include' directives
// while running the preprocessor, and later during a walk of the AST
-// we call a function to check for any '#include' directies inside
+// we call a function to check for any '#include' directives inside
// an 'Extern "C/C++" {}' or 'namespace {}' block, given its source
// range.
//
@@ -1271,7 +1271,7 @@ private:
// PreprocessorTracker functions.
-// PreprocessorTracker desctructor.
+// PreprocessorTracker destructor.
PreprocessorTracker::~PreprocessorTracker() {}
// Create instance of PreprocessorTracker.
OpenPOWER on IntegriCloud