]> granicus.if.org Git - clang/commitdiff
fix trivial typos, NFC
authorHiroshi Inoue <inouehrs@jp.ibm.com>
Fri, 30 Jun 2017 05:40:31 +0000 (05:40 +0000)
committerHiroshi Inoue <inouehrs@jp.ibm.com>
Fri, 30 Jun 2017 05:40:31 +0000 (05:40 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@306789 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Lex/PTHLexer.h
include/clang/Sema/Sema.h
lib/Parse/ParseDeclCXX.cpp
lib/Sema/SemaDeclAttr.cpp

index 904be792b2a9830544400c68ddc0463f3dc9410a..f96af665b15748e647b12efc39eff90beda1d668 100644 (file)
@@ -36,7 +36,7 @@ class PTHLexer : public PreprocessorLexer {
   const unsigned char* LastHashTokPtr;
 
   /// PPCond - Pointer to a side table in the PTH file that provides a
-  ///  a consise summary of the preproccessor conditional block structure.
+  ///  a concise summary of the preprocessor conditional block structure.
   ///  This is used to perform quick skipping of conditional blocks.
   const unsigned char* PPCond;
 
index ef33712d4f4780d54898357e02565656ae153839..8dee74eb2a123f917cc5fd4f279ffb81554ff5fa 100644 (file)
@@ -3233,7 +3233,7 @@ public:
   void ProcessPragmaWeak(Scope *S, Decl *D);
   // Decl attributes - this routine is the top level dispatcher.
   void ProcessDeclAttributes(Scope *S, Decl *D, const Declarator &PD);
-  // Helper for delayed proccessing of attributes.
+  // Helper for delayed processing of attributes.
   void ProcessDeclAttributeDelayed(Decl *D, const AttributeList *AttrList);
   void ProcessDeclAttributeList(Scope *S, Decl *D, const AttributeList *AL,
                                 bool IncludeCXX11Attributes = true);
index a724fa242268b80f794d3854d69b45a39fc28ef8..b1a84e7ab9436913471fbbfd22acbfd0c2253c0d 100644 (file)
@@ -1915,7 +1915,7 @@ void Parser::ParseClassSpecifier(tok::TokenKind TagTokKind,
   }
 
   if (!TagOrTempResult.isInvalid())
-    // Delayed proccessing of attributes.
+    // Delayed processing of attributes.
     Actions.ProcessDeclAttributeDelayed(TagOrTempResult.get(), attrs.getList());
 
   const char *PrevSpec = nullptr;
index e8503427536ded8925de2e929465a885ff7c03a8..1929bc53918895ac0d034a0979b155df748926a6 100644 (file)
@@ -6571,7 +6571,7 @@ void Sema::ProcessDeclAttributeList(Scope *S, Decl *D,
   }
 }
 
-// Helper for delayed proccessing TransparentUnion attribute.
+// Helper for delayed processing TransparentUnion attribute.
 void Sema::ProcessDeclAttributeDelayed(Decl *D, const AttributeList *AttrList) {
   for (const AttributeList *Attr = AttrList; Attr; Attr = Attr->getNext())
     if (Attr->getKind() == AttributeList::AT_TransparentUnion) {