Skip to content
Commit 43556c14 authored by Akira Hatanaka's avatar Akira Hatanaka
Browse files

[Sema] Avoid instantiating templates only when UncompilableErrorOccurred

and FatalErrorOccurred are both set.

This fixes a crash that occurs when a warning promoted to a fatal error
leaves the AST in an incomplete state, and then later CFG analysis is
run on the incomplete AST.

rdar://problem/28558923

Differential Revision: https://reviews.llvm.org/D26166

llvm-svn: 285923
parent 212b93d8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment