summaryrefslogtreecommitdiffstats
path: root/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2015-12-09 22:16:07 +0000
committerSanjay Patel <spatel@rotateright.com>2015-12-09 22:16:07 +0000
commit4483c0162c2672fc09fb738e9c683ebde1f146f3 (patch)
treed47aefb40ea6d1afc86c8225c83a4212b8be05c2 /include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h
parent74c6bcd12821d8398499ab80c753777245019ba7 (diff)
fix typos; NFC
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@255163 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h')
-rw-r--r--include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h b/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h
index 8d1e4b9c5d..b09dffaf4e 100644
--- a/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h
+++ b/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h
@@ -545,12 +545,11 @@ public:
//
// Here R is the return type of the lambda and P1, P2, ... are
// its parameter types. 'Lambda' is a fake VarDecl captured by the block
- // that is initialized to a copy of the the lambda.
+ // that is initialized to a copy of the lambda.
//
// Sema leaves the body of a lambda-converted block empty (it is
// produced by CodeGen), so we can't analyze it directly. Instead, we skip
- // the block body and analyze the operator() method on the the captured
- // lambda.
+ // the block body and analyze the operator() method on the captured lambda.
const VarDecl *LambdaVD = getRegionStoringCapturedLambda()->getDecl();
const CXXRecordDecl *LambdaDecl = LambdaVD->getType()->getAsCXXRecordDecl();
CXXMethodDecl* LambdaCallOperator = LambdaDecl->getLambdaCallOperator();