Fix typos from r277797 and unused variable from r277889.

llvm-svn: 277900
diff --git a/clang/lib/AST/ASTDiagnostic.cpp b/clang/lib/AST/ASTDiagnostic.cpp
index 85ab4cc..590defb 100644
--- a/clang/lib/AST/ASTDiagnostic.cpp
+++ b/clang/lib/AST/ASTDiagnostic.cpp
@@ -938,13 +938,13 @@
 
       /// isEnd - Returns true if the iterator is one past the end.
       bool isEnd() const {
-        assert(TST && "InternalalIterator is invalid with a null TST.");
+        assert(TST && "InternalIterator is invalid with a null TST.");
         return Index >= TST->getNumArgs();
       }
 
       /// &operator++ - Increment the iterator to the next template argument.
       InternalIterator &operator++() {
-        assert(TST && "InternalalIterator is invalid with a null TST.");
+        assert(TST && "InternalIterator is invalid with a null TST.");
         if (isEnd()) {
           return *this;
         }
@@ -980,7 +980,7 @@
 
       /// operator* - Returns the appropriate TemplateArgument.
       reference operator*() const {
-        assert(TST && "InternalalIterator is invalid with a null TST.");
+        assert(TST && "InternalIterator is invalid with a null TST.");
         assert(!isEnd() && "Index exceeds number of arguments.");
         if (CurrentTA == EndTA)
           return TST->getArg(Index);
@@ -990,7 +990,7 @@
 
       /// operator-> - Allow access to the underlying TemplateArgument.
       pointer operator->() const {
-        assert(TST && "InternalalIterator is invalid with a null TST.");
+        assert(TST && "InternalIterator is invalid with a null TST.");
         return &operator*();
       }
     };