MemRegion pretty-printing: Convert DeclName to a string to print out the actual

name of the tracked function.

llvm-svn: 70381
This commit is contained in:
Ted Kremenek 2009-04-29 15:37:24 +00:00
parent f985648e83
commit e034868a36
1 changed files with 1 additions and 1 deletions

View File

@ -160,7 +160,7 @@ void AllocaRegion::print(llvm::raw_ostream& os) const {
void CodeTextRegion::print(llvm::raw_ostream& os) const {
os << "code{";
if (isDeclared())
os << getDecl()->getDeclName();
os << getDecl()->getDeclName().getAsString();
else
os << '$' << getSymbol();