]> granicus.if.org Git - clang/commitdiff
fix typos in comments; NFC
authorHiroshi Inoue <inouehrs@jp.ibm.com>
Thu, 13 Jul 2017 06:51:20 +0000 (06:51 +0000)
committerHiroshi Inoue <inouehrs@jp.ibm.com>
Thu, 13 Jul 2017 06:51:20 +0000 (06:51 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@307886 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/StaticAnalyzer/Core/CheckerManager.h
lib/Parse/ParseCXXInlineMethods.cpp

index 52ed260346bf3c49c11a8b3e198491c2a15e0195..88cb08a4b647c980cb6793d2144878ee9752ce1f 100644 (file)
@@ -286,7 +286,7 @@ public:
   void runCheckersForEndAnalysis(ExplodedGraph &G, BugReporter &BR,
                                  ExprEngine &Eng);
 
-  /// \brief Run checkers on begining of function.
+  /// \brief Run checkers on beginning of function.
   void runCheckersForBeginFunction(ExplodedNodeSet &Dst,
                                    const BlockEdge &L,
                                    ExplodedNode *Pred,
index cc1e8850a523c11354e09962ca8ce92769acfc2a..b68559485a5e807f28b8684c2525451353ca776d 100644 (file)
@@ -889,7 +889,7 @@ bool Parser::ConsumeAndStoreFunctionPrologue(CachedTokens &Toks) {
         // If the opening brace is not preceded by one of these tokens, we are
         // missing the mem-initializer-id. In order to recover better, we need
         // to use heuristics to determine if this '{' is most likely the
-        // begining of a brace-init-list or the function body.
+        // beginning of a brace-init-list or the function body.
         // Check the token after the corresponding '}'.
         TentativeParsingAction PA(*this);
         if (SkipUntil(tok::r_brace) &&