summaryrefslogtreecommitdiffstats
path: root/clang/lib/StaticAnalyzer/Core/CallEvent.cpp
diff options
context:
space:
mode:
authorSean Eveson <eveson.sean@gmail.com>2015-10-16 08:54:23 +0000
committerSean Eveson <eveson.sean@gmail.com>2015-10-16 08:54:23 +0000
commit3f072ef82c705a67dd5c91051acf08e698767e95 (patch)
treecf589c54c856a7d39b916e6bf453b669869f2d19 /clang/lib/StaticAnalyzer/Core/CallEvent.cpp
parenta0f08674eb9af71985bd59370a2e873f9fda3494 (diff)
downloadbcm5719-llvm-3f072ef82c705a67dd5c91051acf08e698767e95.tar.gz
bcm5719-llvm-3f072ef82c705a67dd5c91051acf08e698767e95.zip
Test commit
llvm-svn: 250500
Diffstat (limited to 'clang/lib/StaticAnalyzer/Core/CallEvent.cpp')
-rw-r--r--clang/lib/StaticAnalyzer/Core/CallEvent.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/StaticAnalyzer/Core/CallEvent.cpp b/clang/lib/StaticAnalyzer/Core/CallEvent.cpp
index a2875697231..f9d4ea22830 100644
--- a/clang/lib/StaticAnalyzer/Core/CallEvent.cpp
+++ b/clang/lib/StaticAnalyzer/Core/CallEvent.cpp
@@ -408,7 +408,7 @@ void CXXInstanceCall::getExtraInvalidatedValues(ValueList &Values,
SVal ThisVal = getCXXThisVal();
Values.push_back(ThisVal);
- // Don't invalidate if the method is const and there are no mutable fields
+ // Don't invalidate if the method is const and there are no mutable fields.
if (const CXXMethodDecl *D = cast_or_null<CXXMethodDecl>(getDecl())) {
if (!D->isConst())
return;
OpenPOWER on IntegriCloud