From b409e2ddfd97fc51db377e346a6dbb8a317035b3 Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Mon, 19 Oct 2009 01:20:50 +0000 Subject: [PATCH] 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 --- include/clang/AST/Decl.h | 3 +++ 1 file changed, 3 insertions(+) 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(); } -- 2.50.1