summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/clang-tidy/abseil/TimeSubtractionCheck.cpp
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/clang-tidy/abseil/TimeSubtractionCheck.cpp
parentca8b20ca3ba10288b61a083c4ce57fb011124935 (diff)
downloadbcm5719-llvm-b7ecf1c1c373c53183ef6ef66efbe4237ff7b96d.tar.gz
bcm5719-llvm-b7ecf1c1c373c53183ef6ef66efbe4237ff7b96d.zip
NFC: Fix trivial typos in comments
Diffstat (limited to 'clang-tools-extra/clang-tidy/abseil/TimeSubtractionCheck.cpp')
-rw-r--r--clang-tools-extra/clang-tidy/abseil/TimeSubtractionCheck.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang-tools-extra/clang-tidy/abseil/TimeSubtractionCheck.cpp b/clang-tools-extra/clang-tidy/abseil/TimeSubtractionCheck.cpp
index fee1d556eb9..a3866651dce 100644
--- a/clang-tools-extra/clang-tidy/abseil/TimeSubtractionCheck.cpp
+++ b/clang-tools-extra/clang-tidy/abseil/TimeSubtractionCheck.cpp
@@ -168,7 +168,7 @@ void TimeSubtractionCheck::check(const MatchFinder::MatchResult &Result) {
!InsideMacroDefinition(Result, MaybeCallArg->getSourceRange())) {
// Handle the case where the matched expression is inside a call which
// converts it from the inverse to a Duration. In this case, we replace
- // the outer with just the subtraction expresison, which gives the right
+ // the outer with just the subtraction expression, which gives the right
// type and scale, taking care again about parenthesis.
bool NeedParens = parensRequired(Result, MaybeCallArg);
OpenPOWER on IntegriCloud