Fix a regression form r137894. Make sure the custom BugReporterVisitors get registred as they were in EnhancedBugReport. Would be good to add a test for this.
llvm-svn: 137917
This commit is contained in:
parent
2b949c2b4b
commit
ab935f26e6
|
@ -166,7 +166,10 @@ public:
|
|||
BugReporterContext &BR);
|
||||
|
||||
virtual void registerInitialVisitors(BugReporterContext &BRC,
|
||||
const ExplodedNode *N) {}
|
||||
const ExplodedNode *N) {
|
||||
for (Creators::iterator I = creators.begin(), E = creators.end(); I!=E; ++I)
|
||||
I->first(BRC, I->second, N);
|
||||
}
|
||||
};
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
|
Loading…
Reference in New Issue