From 5281b8ed0e395603e5ff15ecc01ee0d0dff2e0fd Mon Sep 17 00:00:00 2001 From: Zhongxing Xu Date: Wed, 24 Nov 2010 06:33:02 +0000 Subject: [PATCH] print asLValue attribute of CFGStmt. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@120086 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Analysis/CFG.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/Analysis/CFG.cpp b/lib/Analysis/CFG.cpp index b371f6a519..57e67e4268 100644 --- a/lib/Analysis/CFG.cpp +++ b/lib/Analysis/CFG.cpp @@ -3065,6 +3065,9 @@ static void print_elem(llvm::raw_ostream &OS, StmtPrinterHelper* Helper, OS << " (BindTemporary)"; } + if (CS.asLValue()) + OS << " (asLValue)"; + // Expressions need a newline. if (isa(S)) OS << '\n'; -- 2.40.0