Fixed comments.
Moved IdDeclInfo class to anonymous namespace.
Replaced array with a std::vector.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@49570 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Sema/IdentifierResolver.h b/lib/Sema/IdentifierResolver.h
index 8db4615..bdaab69 100644
--- a/lib/Sema/IdentifierResolver.h
+++ b/lib/Sema/IdentifierResolver.h
@@ -7,7 +7,7 @@
 //
 //===----------------------------------------------------------------------===//
 //
-// This file defines the IdentifierResolver class,which is used for lexical
+// This file defines the IdentifierResolver class, which is used for lexical
 // scoped lookup, based on identifier.
 //
 //===----------------------------------------------------------------------===//
@@ -21,20 +21,20 @@
   class Scope;
 
 /// IdentifierResolver - Keeps track of shadowed decls on enclosing scopes.
-/// it manages the shadowing chains of identifiers and implements efficent decl
+/// It manages the shadowing chains of identifiers and implements efficent decl
 /// lookup based on an identifier.
 class IdentifierResolver {
 public:
   IdentifierResolver();
   ~IdentifierResolver();
 
-  /// AddDecl - Link the decl to its shadowed decl chain
+  /// AddDecl - Link the decl to its shadowed decl chain.
   void AddDecl(NamedDecl *D, Scope *S);
 
-  /// AddGlobalDecl - Link the decl at the top of the shadowed decl chain
+  /// AddGlobalDecl - Link the decl at the top of the shadowed decl chain.
   void AddGlobalDecl(NamedDecl *D);
 
-  /// RemoveDecl - Unlink the decl from its shadowed decl chain
+  /// RemoveDecl - Unlink the decl from its shadowed decl chain.
   /// The decl must already be part of the decl chain.
   void RemoveDecl(NamedDecl *D);