aboutsummaryrefslogtreecommitdiff
path: root/lib/Checker/Environment.cpp
diff options
context:
space:
mode:
authorZhongxing Xu <xuzhongxing@gmail.com>2010-11-25 02:52:17 +0000
committerZhongxing Xu <xuzhongxing@gmail.com>2010-11-25 02:52:17 +0000
commit8ed119f7cb73fcbf44df0240203a3194e52a79d0 (patch)
tree2ff469f8b59f82ee68beab1f0d791600e4737138 /lib/Checker/Environment.cpp
parente1aeb13251a4858724d2b7ad1925d25076f23d08 (diff)
Improve comments.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@120142 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Checker/Environment.cpp')
-rw-r--r--lib/Checker/Environment.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Checker/Environment.cpp b/lib/Checker/Environment.cpp
index 0bbe40dc1a..b09cb9d604 100644
--- a/lib/Checker/Environment.cpp
+++ b/lib/Checker/Environment.cpp
@@ -53,8 +53,7 @@ SVal Environment::GetSVal(const Stmt *E, ValueManager& ValMgr) const {
return ValMgr.makeIntVal(cast<IntegerLiteral>(E));
}
- // Casts where the source and target type are the same
- // are no-ops. We blast through these to get the descendant
+ // We blast through no-op casts to get the descendant
// subexpression that has a value.
case Stmt::ImplicitCastExprClass: