[clang] f8a850c - [Analyzer][NFC] Fix typos in comments
Gabor Marton via cfe-commits
cfe-commits at lists.llvm.org
Wed Mar 24 03:46:36 PDT 2021
Author: Gabor Marton
Date: 2021-03-24T11:46:10+01:00
New Revision: f8a850ccf452f9709c652823f11f1e95fd2c0e24
URL: https://github.com/llvm/llvm-project/commit/f8a850ccf452f9709c652823f11f1e95fd2c0e24
DIFF: https://github.com/llvm/llvm-project/commit/f8a850ccf452f9709c652823f11f1e95fd2c0e24.diff
LOG: [Analyzer][NFC] Fix typos in comments
Added:
Modified:
clang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporterVisitors.h
clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp
Removed:
################################################################################
diff --git a/clang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporterVisitors.h b/clang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporterVisitors.h
index 58a88f452ed95..2975d50de3334 100644
--- a/clang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporterVisitors.h
+++ b/clang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporterVisitors.h
@@ -93,7 +93,7 @@ enum class TrackingKind {
/// gathered about the tracked expression value as possible.
Thorough,
/// Specifies that a more moderate tracking should be used for the expression
- /// value. This will essentially make sure that functions relevant to the it
+ /// value. This will essentially make sure that functions relevant to it
/// aren't pruned, but otherwise relies on the user reading the code or
/// following the arrows.
Condition
diff --git a/clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp b/clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp
index a12a78af7a9ee..0edd6e3f731b6 100644
--- a/clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp
+++ b/clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp
@@ -1942,7 +1942,7 @@ bool bugreporter::trackExpressionValue(const ExplodedNode *InputNode,
const StackFrameContext *SFC = LVNode->getStackFrame();
// We only track expressions if we believe that they are important. Chances
- // are good that control dependencies to the tracking point are also improtant
+ // are good that control dependencies to the tracking point are also important
// because of this, let's explain why we believe control reached this point.
// TODO: Shouldn't we track control dependencies of every bug location, rather
// than only tracked expressions?
More information about the cfe-commits
mailing list