summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGDebugInfo.h
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2013-08-15 21:42:43 +0000
committerDavid Blaikie <dblaikie@gmail.com>2013-08-15 21:42:43 +0000
commita0ef9fa6bf99188c49572d42cd86f186efe531d4 (patch)
tree64f4fcb43646b0525fc7bdd78267dfe0fba52b24 /clang/lib/CodeGen/CGDebugInfo.h
parent6a7234472e22d374ef57c126e0e392c9fd209fc8 (diff)
downloadbcm5719-llvm-a0ef9fa6bf99188c49572d42cd86f186efe531d4.tar.gz
bcm5719-llvm-a0ef9fa6bf99188c49572d42cd86f186efe531d4.zip
DebugInfo: Make CGDebugInfo::getStaticDataMemberDeclaration's argument type match the semantics
Rather than having a cast immediately inside the function, push that type requirement out to the callers. llvm-svn: 188492
Diffstat (limited to 'clang/lib/CodeGen/CGDebugInfo.h')
-rw-r--r--clang/lib/CodeGen/CGDebugInfo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGDebugInfo.h b/clang/lib/CodeGen/CGDebugInfo.h
index 72d956ed373..f17d47ad37c 100644
--- a/clang/lib/CodeGen/CGDebugInfo.h
+++ b/clang/lib/CodeGen/CGDebugInfo.h
@@ -357,7 +357,7 @@ private:
/// getStaticDataMemberDeclaration - Return debug info descriptor to
/// describe in-class static data member declaration for the given
/// out-of-class definition.
- llvm::DIDerivedType getStaticDataMemberDeclaration(const Decl *D);
+ llvm::DIDerivedType getStaticDataMemberDeclaration(const VarDecl *D);
/// getFunctionName - Get function name for the given FunctionDecl. If the
/// name is constructred on demand (e.g. C++ destructor) then the name
OpenPOWER on IntegriCloud