summaryrefslogtreecommitdiffstats
path: root/clang/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
commite6434cb421b664f9be7ec2f5fd2f4975a2422f5e (patch)
treec7c3690792d552ef72b8e9715c09732db6fe0c99 /clang/lib/Frontend/PCHWriterStmt.cpp
parent20464fba700aa3ff6d2ea89fea63679994596fc0 (diff)
downloadbcm5719-llvm-e6434cb421b664f9be7ec2f5fd2f4975a2422f5e.tar.gz
bcm5719-llvm-e6434cb421b664f9be7ec2f5fd2f4975a2422f5e.zip
normalize the CharacterLiteral::getLocation method name, patch
by Enea Zaffanella! llvm-svn: 79924
Diffstat (limited to 'clang/lib/Frontend/PCHWriterStmt.cpp')
-rw-r--r--clang/lib/Frontend/PCHWriterStmt.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Frontend/PCHWriterStmt.cpp b/clang/lib/Frontend/PCHWriterStmt.cpp
index d62a8154c50..ffde5280abe 100644
--- a/clang/lib/Frontend/PCHWriterStmt.cpp
+++ b/clang/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;
}
OpenPOWER on IntegriCloud