code I wrote, returning "true" on error is still unnatural.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@120727
91177308-0d34-0410-b5e6-
96231b3b80d8
++Base1) {
QualType T = Importer.Import(Base1->getType());
if (T.isNull())
- return false;
+ return true;
Bases.push_back(
new (Importer.getToContext())
ImportDeclContext(From);
To->completeDefinition();
- return true;
+ return false;
}
TemplateParameterList *ASTNodeImporter::ImportTemplateParameterList(