Skip to content
Commit c2de5aff authored by PremAnand Rao's avatar PremAnand Rao Committed by Erich Keane
Browse files

[OpenMP] Handle non-function context before checking for diagnostic

emission

Ensure that we are in a function declaration context before checking
the diagnostic emission status, to avoid dereferencing a NULL function
declaration.

Differential Revision: https://reviews.llvm.org/D97573
parent fc28f600
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment