aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-10-19 01:20:50 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-10-19 01:20:50 +0000
commitb409e2ddfd97fc51db377e346a6dbb8a317035b3 (patch)
tree1a149e31f305aa52550a04a467e68cbd7e8924cb
parenta4ee4429e2e3d974edd121e26108d2ce6378c751 (diff)
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
-rw-r--r--include/clang/AST/Decl.h3
1 files changed, 3 insertions, 0 deletions
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(); }