Restore diagnostic handler after CodeGenAction::ExecuteAction
authorMarco Antognini <marco.antognini@arm.com>
Mon, 8 Feb 2021 18:14:22 +0000 (18:14 +0000)
committerMarco Antognini <marco.antognini@arm.com>
Mon, 15 Feb 2021 10:33:00 +0000 (10:33 +0000)
commite54811ff7e0bc99f337bcbb569311bb166187322
treea75b9b89723b34a5466c0a7c837fbe041883dbfd
parentc70737ba1dea947350879a4f53a4a5513d6c9252
Restore diagnostic handler after CodeGenAction::ExecuteAction

Fix dangling pointer to local variable and address some typos.

Reviewed By: xur

Differential Revision: https://reviews.llvm.org/D96487
clang/lib/CodeGen/CodeGenAction.cpp
llvm/include/llvm/IR/LLVMContext.h