[AST][RecoveryExpr] Don't preserve the return type if the FunctionDecl is invalid.
If a functionDecl is invalid (e.g. return type cannot be formed), int is use as he fallback type, which may lead to some bogus diagnostics. Reviewed By: sammccall Differential Revision: https://reviews.llvm.org/D85714
Loading
Please sign in to comment