[cfe-commits] r77531 - in /cfe/trunk/include/clang/Index: DeclReferenceMap.h Entity.h Program.h

Argiris Kirtzidis akyrtzi at gmail.com
Wed Jul 29 16:39:25 PDT 2009


Author: akirtzidis
Date: Wed Jul 29 18:39:25 2009
New Revision: 77531

URL: http://llvm.org/viewvc/llvm-project?rev=77531&view=rev
Log:
Fix some comments.

Modified:
    cfe/trunk/include/clang/Index/DeclReferenceMap.h
    cfe/trunk/include/clang/Index/Entity.h
    cfe/trunk/include/clang/Index/Program.h

Modified: cfe/trunk/include/clang/Index/DeclReferenceMap.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Index/DeclReferenceMap.h?rev=77531&r1=77530&r2=77531&view=diff

==============================================================================
--- cfe/trunk/include/clang/Index/DeclReferenceMap.h (original)
+++ cfe/trunk/include/clang/Index/DeclReferenceMap.h Wed Jul 29 18:39:25 2009
@@ -26,8 +26,7 @@
   
 /// \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);

Modified: cfe/trunk/include/clang/Index/Entity.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Index/Entity.h?rev=77531&r1=77530&r2=77531&view=diff

==============================================================================
--- cfe/trunk/include/clang/Index/Entity.h (original)
+++ cfe/trunk/include/clang/Index/Entity.h Wed Jul 29 18:39:25 2009
@@ -61,7 +61,7 @@
   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.

Modified: cfe/trunk/include/clang/Index/Program.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Index/Program.h?rev=77531&r1=77530&r2=77531&view=diff

==============================================================================
--- cfe/trunk/include/clang/Index/Program.h (original)
+++ cfe/trunk/include/clang/Index/Program.h Wed Jul 29 18:39:25 2009
@@ -20,7 +20,7 @@
 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;





More information about the cfe-commits mailing list