[cfe-commits] r84454 - /cfe/trunk/include/clang/AST/Decl.h

Daniel Dunbar daniel at zuster.org
Sun Oct 18 18:20:50 PDT 2009


Author: ddunbar
Date: Sun Oct 18 20:20:50 2009
New Revision: 84454

URL: http://llvm.org/viewvc/llvm-project?rev=84454&view=rev
Log:
Add FIXME calling for rename of NamedDecl::getNameAsString.

Modified:
    cfe/trunk/include/clang/AST/Decl.h

Modified: cfe/trunk/include/clang/AST/Decl.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/Decl.h?rev=84454&r1=84453&r2=84454&view=diff

==============================================================================
--- cfe/trunk/include/clang/AST/Decl.h (original)
+++ cfe/trunk/include/clang/AST/Decl.h Sun Oct 18 20:20:50 2009
@@ -120,6 +120,9 @@
   /// manipulation, so it should be called only when performance doesn't matter.
   /// For simple declarations, getNameAsCString() should suffice.
   //
+  // FIXME: This function should be renamed to indicate that it is not just an
+  // alternate form of getName(), and clients should move as appropriate.
+  //
   // FIXME: Deprecated, move clients to getName().
   std::string getNameAsString() const { return Name.getAsString(); }
 





More information about the cfe-commits mailing list