aboutsummaryrefslogtreecommitdiff
path: root/include/clang/StaticAnalyzer/Core
diff options
context:
space:
mode:
authorAnna Zaks <ganna@apple.com>2013-04-12 18:40:21 +0000
committerAnna Zaks <ganna@apple.com>2013-04-12 18:40:21 +0000
commit9e2f5977a180ae927d05e844c65b8a7873be48a4 (patch)
tree96fa8bd1b0f074f3870cbe140c2c9a9e8a23b528 /include/clang/StaticAnalyzer/Core
parent333ac6ed908bd70b879243a1d8541c27f142b40a (diff)
[analyzer]Print field region even when the base region is not printable
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@179395 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/StaticAnalyzer/Core')
-rw-r--r--include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h b/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h
index af2f365ead..7ae432e389 100644
--- a/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h
+++ b/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h
@@ -169,6 +169,8 @@ public:
/// \brief Print the region for use in diagnostics.
virtual void printPretty(raw_ostream &os) const;
+ virtual void printPrettyNoQuotes(raw_ostream &os) const;
+
Kind getKind() const { return kind; }
template<typename RegionTy> const RegionTy* getAs() const;
@@ -875,7 +877,8 @@ public:
}
bool canPrintPretty() const;
- void printPretty(raw_ostream &os) const;
+
+ void printPrettyNoQuotes(raw_ostream &os) const;
};
/// CXXThisRegion - Represents the region for the implicit 'this' parameter
@@ -937,6 +940,7 @@ public:
bool canPrintPretty() const;
void printPretty(raw_ostream &os) const;
+ void printPrettyNoQuotes(raw_ostream &os) const;
};
class ObjCIvarRegion : public DeclRegion {
@@ -953,7 +957,7 @@ public:
QualType getValueType() const;
bool canPrintPretty() const;
- void printPretty(raw_ostream &os) const;
+ void printPrettyNoQuotes(raw_ostream &os) const;
void dumpToStream(raw_ostream &os) const;