aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorMark de Wever <koraq@xs4all.nl>2020-08-16 18:32:38 +0200
committerMark de Wever <koraq@xs4all.nl>2020-08-16 18:32:38 +0200
commit827ba67e383313b05e9b10c8215e501530d6c9e3 (patch)
treec6791b7450a49c3585fd705a54e0dd1acddf5459 /clang/lib/Frontend/CompilerInvocation.cpp
parentf25d47b7ed3e2e9ddb121471c5d4af76642cd48c (diff)
downloadllvm-827ba67e383313b05e9b10c8215e501530d6c9e3.zip
llvm-827ba67e383313b05e9b10c8215e501530d6c9e3.tar.gz
llvm-827ba67e383313b05e9b10c8215e501530d6c9e3.tar.bz2
[Sema] Validate calls to GetExprRange.
When a conditional expression has a throw expression it called GetExprRange with a void expression, which caused an assertion failure. This approach was suggested by Richard Smith. Fixes PR46484: Clang crash in clang/lib/Sema/SemaChecking.cpp:10028 Differential Revision: https://reviews.llvm.org/D85601
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions