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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment