r255163 - fix typos; NFC

Sanjay Patel via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 9 14:16:08 PST 2015


Author: spatel
Date: Wed Dec  9 16:16:07 2015
New Revision: 255163

URL: http://llvm.org/viewvc/llvm-project?rev=255163&view=rev
Log:
fix typos; NFC

Modified:
    cfe/trunk/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h
    cfe/trunk/include/clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h
    cfe/trunk/lib/StaticAnalyzer/Core/CallEvent.cpp

Modified: cfe/trunk/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h?rev=255163&r1=255162&r2=255163&view=diff
==============================================================================
--- cfe/trunk/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h (original)
+++ cfe/trunk/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h Wed Dec  9 16:16:07 2015
@@ -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();

Modified: cfe/trunk/include/clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h?rev=255163&r1=255162&r2=255163&view=diff
==============================================================================
--- cfe/trunk/include/clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h (original)
+++ cfe/trunk/include/clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h Wed Dec  9 16:16:07 2015
@@ -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.

Modified: cfe/trunk/lib/StaticAnalyzer/Core/CallEvent.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/StaticAnalyzer/Core/CallEvent.cpp?rev=255163&r1=255162&r2=255163&view=diff
==============================================================================
--- cfe/trunk/lib/StaticAnalyzer/Core/CallEvent.cpp (original)
+++ cfe/trunk/lib/StaticAnalyzer/Core/CallEvent.cpp Wed Dec  9 16:16:07 2015
@@ -605,7 +605,7 @@ void BlockCall::getInitialStackFrameCont
     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);




More information about the cfe-commits mailing list