From: Daniel Dunbar Date: Mon, 19 Oct 2009 01:20:50 +0000 (+0000) Subject: Add FIXME calling for rename of NamedDecl::getNameAsString. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b409e2ddfd97fc51db377e346a6dbb8a317035b3;p=clang Add FIXME calling for rename of NamedDecl::getNameAsString. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@84454 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/AST/Decl.h b/include/clang/AST/Decl.h index 48ec888a37..55f823f018 100644 --- a/include/clang/AST/Decl.h +++ b/include/clang/AST/Decl.h @@ -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(); }