summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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