]> granicus.if.org Git - clang/commitdiff
fix typos; NFC
authorSanjay Patel <spatel@rotateright.com>
Wed, 9 Dec 2015 22:16:07 +0000 (22:16 +0000)
committerSanjay Patel <spatel@rotateright.com>
Wed, 9 Dec 2015 22:16:07 +0000 (22:16 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@255163 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h
include/clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h
lib/StaticAnalyzer/Core/CallEvent.cpp

index 8d1e4b9c5dbce250040bcdf9e70c9c001169ac8b..b09dffaf4e5703ec28061fcbafcda21e5a105348 100644 (file)
@@ -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();
index f777cd79ba4c67bb220a6d75724269ea5ce6c150..d4f014d29984295d327b3dacf9e9a48e8f97fa37 100644 (file)
@@ -316,7 +316,7 @@ private:
     // The analyzer may stop exploring if it sees a state it has previously
     // visited ("cache out"). The early return here is a defensive check to
     // prevent accidental caching out by checker API clients. Unless there is a
-    // tag or the the client checker has requested that the generated node be
+    // tag or the client checker has requested that the generated node be
     // marked as a sink, we assume that a client requesting a transition to a
     // state that is the same as the predecessor state has made a mistake. We
     // return the predecessor rather than cache out.
index 51dd7c822606c14582966568819a89657c1d6a91..69af09b25b6e290745fbbdd169c11449421e640a 100644 (file)
@@ -605,7 +605,7 @@ void BlockCall::getInitialStackFrameContents(const StackFrameContext *CalleeCtx,
     Params = LambdaOperatorDecl->parameters();
 
     // For blocks converted from a C++ lambda, the callee declaration is the
-    // operator() method on the the lambda so we bind "this" to
+    // operator() method on the lambda so we bind "this" to
     // the lambda captured by the block.
     const VarRegion *CapturedLambdaRegion = getRegionStoringCapturedLambda();
     SVal ThisVal = loc::MemRegionVal(CapturedLambdaRegion);