diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2008-04-12 01:50:47 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2008-04-12 01:50:47 +0000 |
commit | dfd52220d7c384e8a31bdc5f0540b9b4cf9b69e3 (patch) | |
tree | 359d23d7ea5f85cf934e3f4a77c2301e61843506 /clang/lib/Sema/IdentifierResolver.h | |
parent | 7417348a7e01e8ec063e39a8d22e40b1767eebc6 (diff) | |
download | bcm5719-llvm-dfd52220d7c384e8a31bdc5f0540b9b4cf9b69e3.tar.gz bcm5719-llvm-dfd52220d7c384e8a31bdc5f0540b9b4cf9b69e3.zip |
Fixed comments.
Moved IdDeclInfo class to anonymous namespace.
Replaced array with a std::vector.
llvm-svn: 49570
Diffstat (limited to 'clang/lib/Sema/IdentifierResolver.h')
-rw-r--r-- | clang/lib/Sema/IdentifierResolver.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/clang/lib/Sema/IdentifierResolver.h b/clang/lib/Sema/IdentifierResolver.h index 8db4615df2c..bdaab694fe1 100644 --- a/clang/lib/Sema/IdentifierResolver.h +++ b/clang/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 @@ namespace clang { 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); |