[PATCH] D97573: [OpenMP] Handle non-function context before checking for diagnostic emission

PremAnand Rao via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 1 08:04:10 PST 2021


pmrao marked an inline comment as not done.
pmrao added inline comments.


================
Comment at: clang/lib/Sema/SemaOpenMP.cpp:1946
+    FunctionEmissionStatus FES = getEmissionStatus(FD);
+    switch (FES) {
+    case FunctionEmissionStatus::Emitted:
----------------
erichkeane wrote:
> pmrao wrote:
> > erichkeane wrote:
> > > 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.
> > > Tabs here instead of spaces.
> > 
> > Are you suggesting that I change the spaces to tabs instead?
> The reverse.  Change the tabs you have at the beginning of the line to spaces.  I believe that is what the double-arrow character in Phab represents (a tab).
Oh!  I misunderstood then.   I thought phab was indicating that there are no changes in the line, except new indentation.

I didn't use tabs in my source file.   I don't see it in the character set.   Perhaps something introduced it during the upload.   I will check.


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