yaxunl added inline comments.
================ Comment at: clang/lib/Sema/SemaExpr.cpp:17254 + SourceLocation(), Context.getTranslationUnitDecl()); + } ---------------- rjmccall wrote: > Thanks, this looks a lot better. > > Should this be moved to SemaOpenMP.cpp (and renamed to be OpenMP-specific), > or do you think it's going to be useful in other modes? It is not just for OpenMP. Deferred diagnostics are also emitted by CUDA/HIP. CHANGES SINCE LAST ACTION https://reviews.llvm.org/D70172/new/ https://reviews.llvm.org/D70172 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits