diff options
author | Stephen Kelly <steveire@gmail.com> | 2018-08-09 21:05:56 +0000 |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2018-08-09 21:05:56 +0000 |
commit | a6e4358f071e18aa969c0ae820745510b3581aff (patch) | |
tree | 9616f195df90705f0a97ae2adc049c92b15253c8 /clang/lib/Serialization/ASTWriterStmt.cpp | |
parent | f8a4c7775fbfa9b8610729cde9093956176b7f5d (diff) | |
download | bcm5719-llvm-a6e4358f071e18aa969c0ae820745510b3581aff.tar.gz bcm5719-llvm-a6e4358f071e18aa969c0ae820745510b3581aff.zip |
Port getStartLoc -> getBeginLoc
Reviewers: teemperor!
Subscribers: cfe-commits
Differential Revision: https://reviews.llvm.org/D50349
llvm-svn: 339384
Diffstat (limited to 'clang/lib/Serialization/ASTWriterStmt.cpp')
-rw-r--r-- | clang/lib/Serialization/ASTWriterStmt.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Serialization/ASTWriterStmt.cpp b/clang/lib/Serialization/ASTWriterStmt.cpp index 48c3f79a438..ffdfa958b10 100644 --- a/clang/lib/Serialization/ASTWriterStmt.cpp +++ b/clang/lib/Serialization/ASTWriterStmt.cpp @@ -223,7 +223,7 @@ void ASTStmtWriter::VisitReturnStmt(ReturnStmt *S) { void ASTStmtWriter::VisitDeclStmt(DeclStmt *S) { VisitStmt(S); - Record.AddSourceLocation(S->getStartLoc()); + Record.AddSourceLocation(S->getBeginLoc()); Record.AddSourceLocation(S->getEndLoc()); DeclGroupRef DG = S->getDeclGroup(); for (DeclGroupRef::iterator D = DG.begin(), DEnd = DG.end(); D != DEnd; ++D) |