Indeed decl must not be null (coverity id #47522)

git-svn-id: http://root.cern.ch/svn/root/trunk@46534 27541ba8-7e3a-0410-8455-c3a389f83636
This commit is contained in:
Vassil Vassilev 2012-10-14 14:43:29 +00:00
parent dc1bb6ee0e
commit f471d979b1

View File

@ -266,6 +266,7 @@ namespace cling {
const FunctionDecl* LookupHelper::findFunctionProto(const Decl* scopeDecl,
llvm::StringRef funcName,
llvm::StringRef funcProto) const {
assert(scopeDecl && "Decl cannot be null");
//
// Our return value.
//