Skip to content

Commit

Permalink
[AST] Enhance the const expression evaluator to support error-depende…
Browse files Browse the repository at this point in the history
…nt exprs.

Fix a crash when evaluating a constexpr function which contains
recovery-exprs. https://bugs.llvm.org/show_bug.cgi?id=46837

Would be nice to have constant expression evaluator support general template
value-dependent expressions, but it requires more work.

This patch is a good start I think, to handle the error-only
value-dependent expressions.

Differential Revision: https://reviews.llvm.org/D84637
  • Loading branch information
hokein committed Nov 18, 2020
1 parent 8270f8c commit bd4662c
Show file tree
Hide file tree
Showing 5 changed files with 182 additions and 57 deletions.

0 comments on commit bd4662c

Please sign in to comment.