commit | e013d685c6689ac7ae103ee88acf573422d1ed6a | [log] [tgz] |
---|---|---|
author | Daniel Dunbar <daniel@zuster.org> | Sun Oct 18 20:26:12 2009 +0000 |
committer | Daniel Dunbar <daniel@zuster.org> | Sun Oct 18 20:26:12 2009 +0000 |
tree | 9ce3af590d76d16bbedc754d3804f0b56e5c4883 | |
parent | b5217efa5be2fd6be48d207267c8bcda6bf9206c [diff] [blame] |
Move clients to use IdentifierInfo::getNameStart() instead of getName() git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@84436 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/AST/Stmt.cpp b/lib/AST/Stmt.cpp index 3a838fa..6e0da47 100644 --- a/lib/AST/Stmt.cpp +++ b/lib/AST/Stmt.cpp
@@ -117,7 +117,7 @@ } const char *LabelStmt::getName() const { - return getID()->getName(); + return getID()->getNameStart(); } // This is defined here to avoid polluting Stmt.h with importing Expr.h