Protect from skipping function template patterns.
This commit is contained in:
parent
93d1140a38
commit
7f1e4f4383
@ -903,6 +903,10 @@ namespace cling {
|
||||
else {
|
||||
StreamRAII SubStream(*this);
|
||||
Visit(D->getTemplatedDecl());
|
||||
if (m_SkipFlag) {
|
||||
skipDecl(D->getTemplatedDecl(), "Template pattern failed");
|
||||
return;
|
||||
}
|
||||
Stream << SubStream.take(true);
|
||||
}
|
||||
Stream.flush();
|
||||
|
Loading…
x
Reference in New Issue
Block a user