aboutsummaryrefslogtreecommitdiff
path: root/lib/AST/StmtProfile.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-09-22 03:27:52 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-09-22 03:27:52 +0000
commitdf4eee9b035cc4b95b1ea72635e7429d06b0ecc8 (patch)
treec714b969d8deb3dae67652575a359f6bf24c46f1 /lib/AST/StmtProfile.cpp
parentb648023da23e8b227cdda57a241db4c6f368726b (diff)
Switch a few clients over to StringLiteral::getString.
- Switching all of them out-of-my-current-scope-of-interest, sorry. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@82515 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/StmtProfile.cpp')
-rw-r--r--lib/AST/StmtProfile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/AST/StmtProfile.cpp b/lib/AST/StmtProfile.cpp
index 5a5badd289..c4d42f6be2 100644
--- a/lib/AST/StmtProfile.cpp
+++ b/lib/AST/StmtProfile.cpp
@@ -237,7 +237,7 @@ void StmtProfiler::VisitImaginaryLiteral(ImaginaryLiteral *S) {
void StmtProfiler::VisitStringLiteral(StringLiteral *S) {
VisitExpr(S);
- ID.AddString(S->getStrData(), S->getStrData() + S->getByteLength());
+ ID.AddString(S->getString());
ID.AddBoolean(S->isWide());
}