]> granicus.if.org Git - clang/commitdiff
Add FIXME calling for rename of NamedDecl::getNameAsString.
authorDaniel Dunbar <daniel@zuster.org>
Mon, 19 Oct 2009 01:20:50 +0000 (01:20 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Mon, 19 Oct 2009 01:20:50 +0000 (01:20 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@84454 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/AST/Decl.h

index 48ec888a376b5d623dd11743aa49c69b2a9eefe2..55f823f01816ff86fd5e78df02ea29ac633c72c0 100644 (file)
@@ -120,6 +120,9 @@ public:
   /// 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(); }