We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e717e50 commit 4461de2Copy full SHA for 4461de2
clang/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h
@@ -448,14 +448,15 @@ class ExplodedNodeSet {
448
449
public:
450
ExplodedNodeSet(ExplodedNode *N) {
451
- assert(N && !static_cast<ExplodedNode*>(N)->isSink());
+ assert(N && !N->isSink());
452
Impl.insert(N);
453
}
454
455
ExplodedNodeSet() = default;
456
457
void Add(ExplodedNode *N) {
458
- if (N && !static_cast<ExplodedNode*>(N)->isSink()) Impl.insert(N);
+ if (N && !N->isSink())
459
+ Impl.insert(N);
460
461
462
using iterator = ImplTy::iterator;
0 commit comments