summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Trieu <rtrieu@google.com>2018-07-09 22:09:33 +0000
committerRichard Trieu <rtrieu@google.com>2018-07-09 22:09:33 +0000
commit87a615d6fa6add8f35240b4c288a4cef3bc2f0fc (patch)
tree00078050c3df37285965e525eafa4bb7760ef987
parent3e730b8ae6aadcb039bb6b753a4e54a574f72b18 (diff)
downloadbcm5719-llvm-87a615d6fa6add8f35240b4c288a4cef3bc2f0fc.tar.gz
bcm5719-llvm-87a615d6fa6add8f35240b4c288a4cef3bc2f0fc.zip
Rename function calls missed in r336605
NextIsLatest -> isFirst llvm-svn: 336610
-rw-r--r--clang/include/clang/AST/Decl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/include/clang/AST/Decl.h b/clang/include/clang/AST/Decl.h
index c10ca9e9670..ed0725d0360 100644
--- a/clang/include/clang/AST/Decl.h
+++ b/clang/include/clang/AST/Decl.h
@@ -4260,7 +4260,7 @@ template<typename decl_type>
void Redeclarable<decl_type>::setPreviousDecl(decl_type *PrevDecl) {
// Note: This routine is implemented here because we need both NamedDecl
// and Redeclarable to be defined.
- assert(RedeclLink.NextIsLatest() &&
+ assert(RedeclLink.isFirst() &&
"setPreviousDecl on a decl already in a redeclaration chain");
if (PrevDecl) {
@@ -4268,7 +4268,7 @@ void Redeclarable<decl_type>::setPreviousDecl(decl_type *PrevDecl) {
// redeclaration, or we can build invalid chains. If the most recent
// redeclaration is invalid, it won't be PrevDecl, but we want it anyway.
First = PrevDecl->getFirstDecl();
- assert(First->RedeclLink.NextIsLatest() && "Expected first");
+ assert(First->RedeclLink.isFirst() && "Expected first");
decl_type *MostRecent = First->getNextRedeclaration();
RedeclLink = PreviousDeclLink(cast<decl_type>(MostRecent));
OpenPOWER on IntegriCloud