aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorAkira Hatanaka <ahatanaka@apple.com>2016-11-03 15:04:58 +0000
committerAkira Hatanaka <ahatanaka@apple.com>2016-11-03 15:04:58 +0000
commit43556c14fe5ab356a17519f6f3da68f18450df47 (patch)
tree22043ca642fb93c98fa03e7d895fe42f91571a18 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parent212b93d816260fca2f4129a3224647e52e5b3354 (diff)
downloadllvm-43556c14fe5ab356a17519f6f3da68f18450df47.zip
llvm-43556c14fe5ab356a17519f6f3da68f18450df47.tar.gz
llvm-43556c14fe5ab356a17519f6f3da68f18450df47.tar.bz2
[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
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions