aboutsummaryrefslogtreecommitdiff
path: root/lib/Frontend/PCHWriterStmt.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-08-24 17:39:36 +0000
committerChris Lattner <sabre@nondot.org>2009-08-24 17:39:36 +0000
commit018d8e0596dd57401eeddcf11ac84ff0a065fbbe (patch)
tree0b5ab75c9115081b1881dc25a7632af9eaac40dc /lib/Frontend/PCHWriterStmt.cpp
parent77a2b4f3618608be3e93b12df898d088f8e38337 (diff)
normalize the CharacterLiteral::getLocation method name, patch
by Enea Zaffanella! git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79924 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend/PCHWriterStmt.cpp')
-rw-r--r--lib/Frontend/PCHWriterStmt.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Frontend/PCHWriterStmt.cpp b/lib/Frontend/PCHWriterStmt.cpp
index d62a8154c5..ffde5280ab 100644
--- a/lib/Frontend/PCHWriterStmt.cpp
+++ b/lib/Frontend/PCHWriterStmt.cpp
@@ -355,7 +355,7 @@ void PCHStmtWriter::VisitStringLiteral(StringLiteral *E) {
void PCHStmtWriter::VisitCharacterLiteral(CharacterLiteral *E) {
VisitExpr(E);
Record.push_back(E->getValue());
- Writer.AddSourceLocation(E->getLoc(), Record);
+ Writer.AddSourceLocation(E->getLocation(), Record);
Record.push_back(E->isWide());
Code = pch::EXPR_CHARACTER_LITERAL;
}