aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp
diff options
context:
space:
mode:
authorZarko Todorovski <zarko@ca.ibm.com>2021-11-19 14:50:09 -0500
committerZarko Todorovski <zarko@ca.ibm.com>2021-11-19 14:58:35 -0500
commitd8e5a0c42bd8796cce9caa53aacab88c7cb2a3eb (patch)
treefcbd549681526fd97561a76c10db9dc00ff8c955 /clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp
parente0f58444e126e80a0d43eb5b88622799910195e6 (diff)
downloadllvm-d8e5a0c42bd8796cce9caa53aacab88c7cb2a3eb.zip
llvm-d8e5a0c42bd8796cce9caa53aacab88c7cb2a3eb.tar.gz
llvm-d8e5a0c42bd8796cce9caa53aacab88c7cb2a3eb.tar.bz2
[clang][NFC] Inclusive terms: replace some uses of sanity in clang
Rewording of comments to avoid using `sanity test, sanity check`. Reviewed By: aaron.ballman, Quuxplusone Differential Revision: https://reviews.llvm.org/D114025
Diffstat (limited to 'clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp')
-rw-r--r--clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp b/clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp
index e8b963a..5a8edca 100644
--- a/clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp
+++ b/clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp
@@ -155,7 +155,7 @@ class StdLibraryFunctionsChecker
protected:
ArgNo ArgN; // Argument to which we apply the constraint.
- /// Do polymorphic sanity check on the constraint.
+ /// Do polymorphic validation check on the constraint.
virtual bool checkSpecificValidity(const FunctionDecl *FD) const {
return true;
}
@@ -527,8 +527,8 @@ class StdLibraryFunctionsChecker
}
private:
- // Once we know the exact type of the function then do sanity check on all
- // the given constraints.
+ // Once we know the exact type of the function then do validation check on
+ // all the given constraints.
bool validateByConstraints(const FunctionDecl *FD) const {
for (const ConstraintSet &Case : CaseConstraints)
for (const ValueConstraintPtr &Constraint : Case)