diff options
author | Haojian Wu <hokein.wu@gmail.com> | 2020-07-22 10:03:51 +0200 |
---|---|---|
committer | Haojian Wu <hokein.wu@gmail.com> | 2020-07-22 10:03:51 +0200 |
commit | 706a4353e87b1127446db7daf5e3e95fcb408924 (patch) | |
tree | b019febe00e6bc1b89259750e30f934ae6c057c2 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 82dbb1b2b4f1e70ca453cca60a4ba5b856058fc0 (diff) | |
download | llvm-706a4353e87b1127446db7daf5e3e95fcb408924.zip llvm-706a4353e87b1127446db7daf5e3e95fcb408924.tar.gz llvm-706a4353e87b1127446db7daf5e3e95fcb408924.tar.bz2 |
[AST][RecoveryExpr] Error-dependent expression should not be treat as a nullptr pointer constant.
If an expression is contains-error and its type is unknown (dependent), we
don't treat it as a null pointer constant.
Fix a recovery-ast crash on C.
Differential Revision: https://reviews.llvm.org/D84222
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions