[PATCH] D97573: [OpenMP] Handle non-function context before checking for diagnostic emission
Erich Keane via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Mar 1 06:43:54 PST 2021
erichkeane added inline comments.
================
Comment at: clang/lib/Sema/SemaOpenMP.cpp:1946
+ FunctionEmissionStatus FES = getEmissionStatus(FD);
+ switch (FES) {
+ case FunctionEmissionStatus::Emitted:
----------------
Tabs here instead of spaces.
I think this is the right fix for SYCL, but @bader should double-check that he's ok with this or OMP.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D97573/new/
https://reviews.llvm.org/D97573
More information about the cfe-commits
mailing list