In some rare cases the type of an SVal might be interesting.
This introspection function exposes this information in tests.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
clang/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp | ||
---|---|---|
268 | Would it make sense to call Ty->dump(OS) to a stream and then report the string of the stream? |
clang/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp | ||
---|---|---|
268 | It's way harder to match on such dumps. Those contain pointer addresses all over the place, making FileChecking a nightmare. |
Would it make sense to call Ty->dump(OS) to a stream and then report the string of the stream?
That way we could see some more information. Or perhaps that could be done in another introspection function.