We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 964bf8a commit bd6b03cCopy full SHA for bd6b03c
lib/StaticAnalyzer/Core/SymbolManager.cpp
@@ -85,7 +85,8 @@ void SymbolMetadata::dumpToStream(raw_ostream &os) const {
85
void SymbolData::anchor() { }
86
87
void SymbolRegionValue::dumpToStream(raw_ostream &os) const {
88
- os << "reg_$" << getSymbolID() << "<" << R << ">";
+ os << "reg_$" << getSymbolID()
89
+ << '<' << getType().getAsString() << ' ' << R << '>';
90
}
91
92
bool SymExpr::symbol_iterator::operator==(const symbol_iterator &X) const {
test/Analysis/expr-inspection.c
@@ -7,7 +7,7 @@ void clang_analyzer_printState();
7
void clang_analyzer_numTimesReached();
8
9
void foo(int x) {
10
- clang_analyzer_dump(x); // expected-warning{{reg_$0<x>}}
+ clang_analyzer_dump(x); // expected-warning{{reg_$0<int x>}}
11
int y = 1;
12
clang_analyzer_printState();
13
for (; y < 3; ++y)
0 commit comments