Do not drop the import of the whole function just because an asm statement in it has some missing symbolic names.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Hello Zoltan,
Thank you for the patch. There is an inline comment.
lib/AST/ASTImporter.cpp | ||
---|---|---|
5221 | In such cases, we should check that FromIdentifier is nullptr too (to detect cases where the result is nullptr due to import error). The check will be still present but will look like: if (!ToII && S->getOutputIdentifier()) return nullptr; The same below. |
lib/AST/ASTImporter.cpp | ||
---|---|---|
5221 | Thank you Aleksei, done. |
In such cases, we should check that FromIdentifier is nullptr too (to detect cases where the result is nullptr due to import error). The check will be still present but will look like:
The same below.