diff options
author | Douglas Gregor <dgregor@apple.com> | 2010-02-11 01:04:33 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2010-02-11 01:04:33 +0000 |
commit | 0a5a2216e2d52482d0c59220d4b85f828aeaae70 (patch) | |
tree | d513bdedd4be5debae8f27fd479e19d595ebfdef /clang/lib/CodeGen/CGDebugInfo.cpp | |
parent | da4abf11bf3dbc7c9fb921cb2f67cac9022e6021 (diff) | |
download | bcm5719-llvm-0a5a2216e2d52482d0c59220d4b85f828aeaae70.tar.gz bcm5719-llvm-0a5a2216e2d52482d0c59220d4b85f828aeaae70.zip |
Eliminate the ASTContext parameter from RecordDecl::getDefinition()
and CXXRecordDecl::getDefinition(); it's totally unnecessary. No
functionality change.
llvm-svn: 95836
Diffstat (limited to 'clang/lib/CodeGen/CGDebugInfo.cpp')
-rw-r--r-- | clang/lib/CodeGen/CGDebugInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGDebugInfo.cpp b/clang/lib/CodeGen/CGDebugInfo.cpp index 51f82db61d6..620ecc81629 100644 --- a/clang/lib/CodeGen/CGDebugInfo.cpp +++ b/clang/lib/CodeGen/CGDebugInfo.cpp @@ -799,7 +799,7 @@ llvm::DIType CGDebugInfo::CreateType(const RecordType *Ty, llvm::DIType(), llvm::DIArray()); // If this is just a forward declaration, return it. - if (!RD->getDefinition(CGM.getContext())) + if (!RD->getDefinition()) return FwdDecl; llvm::TrackingVH<llvm::MDNode> FwdDeclNode = FwdDecl.getNode(); |