Fix some comments.
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Wed, 29 Jul 2009 23:39:25 +0000 (23:39 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Wed, 29 Jul 2009 23:39:25 +0000 (23:39 +0000)
llvm-svn: 77531

clang/include/clang/Index/DeclReferenceMap.h
clang/include/clang/Index/Entity.h
clang/include/clang/Index/Program.h

index 130ca38..d1e2c09 100644 (file)
@@ -26,8 +26,7 @@ namespace idx {
   
 /// \brief Maps NamedDecls with the ASTLocations that reference them.
 ///
-/// References are mapped and retrieved using the primary decls
-/// (see Decl::getPrimaryDecl()).
+/// References are mapped and retrieved using the canonical decls.
 class DeclReferenceMap {
 public:
   explicit DeclReferenceMap(ASTContext &Ctx);
index 2b5adc6..283f552 100644 (file)
@@ -61,7 +61,7 @@ public:
   std::string getPrintableName() const;
 
   /// \brief Get an Entity associated with the given Decl.
-  /// \returns Null if an Entity cannot refer to this Decl.
+  /// \returns invalid Entity if an Entity cannot refer to this Decl.
   static Entity get(Decl *D, Program &Prog);
 
   /// \brief true if the Entity is not visible outside the trasnlation unit.
index 2605bb6..b2bdaa6 100644 (file)
@@ -20,7 +20,7 @@ namespace clang {
 namespace idx {
   class EntityHandler;
 
-/// idx::Program is the top level object that owns and maintains information
+/// \brief Top level object that owns and maintains information
 /// that is common across translation units.
 class Program {
   void *Impl;