diff options
author | Rajkumar Ananthu <rajkumar.ananthu108@gmail.com> | 2023-10-06 00:21:57 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-05 14:51:57 -0400 |
commit | a50e63b38b931d945f97eac882278068221eca17 (patch) | |
tree | 78e2009d928e52eb339fcf0043623d91d00f7c33 /llvm/unittests/Analysis/ValueTrackingTest.cpp | |
parent | f320065aeb379d8f9d2780a687768742f8b18eb2 (diff) | |
download | llvm-a50e63b38b931d945f97eac882278068221eca17.zip llvm-a50e63b38b931d945f97eac882278068221eca17.tar.gz llvm-a50e63b38b931d945f97eac882278068221eca17.tar.bz2 |
Fixes and closes #53952. Setting the ASTHasCompilerErrors member variable correctly based on the PP diagnostics. (#68127)
The issue #53952 is reported indicating clang is giving a crashing pch
file, when hasErrors is been passed incorrectly to WriteAST method.
To fix the issue, the parameter has been removed and instead we're
relying on the results of `hasUncompilableErrorOccured()` instead of
letting the caller override it.
Fixes https://github.com/llvm/llvm-project/issues/53952
Diffstat (limited to 'llvm/unittests/Analysis/ValueTrackingTest.cpp')
0 files changed, 0 insertions, 0 deletions