]> granicus.if.org Git - clang/commitdiff
Revert 69694 (use of undefined getSymbol)
authorDaniel Dunbar <daniel@zuster.org>
Tue, 21 Apr 2009 18:54:52 +0000 (18:54 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Tue, 21 Apr 2009 18:54:52 +0000 (18:54 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69697 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/MemRegion.cpp

index ad7e80d7249c88efae964fed8c14ad668cbca70f..5e71924bf9cedd029d22febcee0d615d8265921a 100644 (file)
@@ -157,16 +157,6 @@ void AllocaRegion::print(llvm::raw_ostream& os) const {
   os << "alloca{" << (void*) Ex << ',' << Cnt << '}';
 }
 
-void CodeTextRegion::print(llvm::raw_ostream& os) const {
-  os << "code{";
-  if (isDeclared())
-    os << getDecl()->getDeclName();
-  else
-    os << '$' << getSymbol();
-
-  os << '}';
-}
-
 void CompoundLiteralRegion::print(llvm::raw_ostream& os) const {
   // FIXME: More elaborate pretty-printing.
   os << "{ " << (void*) CL <<  " }";