aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@hotmail.com>2020-05-29 17:56:07 -0400
committerAlexey Bataev <a.bataev@hotmail.com>2020-06-02 14:27:33 -0400
commit2f7269b6773de2750f9cd1417ef5f21cd6cf7a91 (patch)
tree2cf8d5045d2fd8f53076fd410eb4255cf0c4628b /llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
parentb78b98491adad1390c23a78a1d207d965d5c88f3 (diff)
downloadllvm-2f7269b6773de2750f9cd1417ef5f21cd6cf7a91.zip
llvm-2f7269b6773de2750f9cd1417ef5f21cd6cf7a91.tar.gz
llvm-2f7269b6773de2750f9cd1417ef5f21cd6cf7a91.tar.bz2
Fix compiler crash when an expression parsed in the tentative parsing and must be claimed in the another evaluation context.
Summary: Clang crashes when trying to finish function body. MaybeODRUseExprs is not empty because of const static data member parsed in outer evaluation context, upon call for isTypeIdInParens() function. It builds annot_primary_expr, later parsed in ParseConstantExpression() in inner constant expression evaluation context. Reviewers: rjmccall, rsmith Subscribers: cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D80925
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp')
0 files changed, 0 insertions, 0 deletions