[all-commits] [llvm/llvm-project] c2de5a: [OpenMP] Handle non-function context before checki...
premanandrao via All-commits
all-commits at lists.llvm.org
Fri Mar 5 12:38:07 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c2de5aff1a08ce70507f2c0a53eeffa5135c5273
https://github.com/llvm/llvm-project/commit/c2de5aff1a08ce70507f2c0a53eeffa5135c5273
Author: PremAnand Rao <premanand.m.rao at intel.com>
Date: 2021-03-05 (Fri, 05 Mar 2021)
Changed paths:
M clang/lib/Sema/SemaDecl.cpp
M clang/lib/Sema/SemaOpenMP.cpp
A clang/test/OpenMP/simd_null_pointer_access.cpp
Log Message:
-----------
[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
More information about the All-commits
mailing list