diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2013-10-17 15:37:26 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2013-10-17 15:37:26 +0000 |
commit | 8db352d532416955458e62e44088c656e6fd3151 (patch) | |
tree | 033820d218f1993d682409c5fd547c6722ff05d3 /clang/lib/AST/RecordLayoutBuilder.cpp | |
parent | 9469417064a14c9c60034ed766ef7087c9d6c0d9 (diff) | |
download | bcm5719-llvm-8db352d532416955458e62e44088c656e6fd3151.tar.gz bcm5719-llvm-8db352d532416955458e62e44088c656e6fd3151.zip |
Rename some functions for consistency.
Every other function in Redeclarable.h was using Decl instead of Declaration.
llvm-svn: 192900
Diffstat (limited to 'clang/lib/AST/RecordLayoutBuilder.cpp')
-rw-r--r-- | clang/lib/AST/RecordLayoutBuilder.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/AST/RecordLayoutBuilder.cpp b/clang/lib/AST/RecordLayoutBuilder.cpp index b0230ac6ef6..a79cbdd84bb 100644 --- a/clang/lib/AST/RecordLayoutBuilder.cpp +++ b/clang/lib/AST/RecordLayoutBuilder.cpp @@ -3140,7 +3140,7 @@ const CXXMethodDecl *ASTContext::getCurrentKeyFunction(const CXXRecordDecl *RD) } void ASTContext::setNonKeyFunction(const CXXMethodDecl *Method) { - assert(Method == Method->getFirstDeclaration() && + assert(Method == Method->getFirstDecl() && "not working with method declaration from class definition"); // Look up the cache entry. Since we're working with the first |