[PATCH] D70172: [CUDA][HIP][OpenMP] Emit deferred diagnostics by a post-parsing AST travese
Yaxun Liu via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Feb 28 08:24:26 PST 2020
yaxunl updated this revision to Diff 247275.
yaxunl added a comment.
Do not traverse the whole CU. Record potentially emitted functions and variables in the normal parsing and traverse them instead.
Also fixed bug 44948 and regression in check-mlir.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D70172/new/
https://reviews.llvm.org/D70172
Files:
clang/include/clang/Sema/Sema.h
clang/lib/Sema/Sema.cpp
clang/lib/Sema/SemaCUDA.cpp
clang/lib/Sema/SemaDecl.cpp
clang/lib/Sema/SemaExpr.cpp
clang/lib/Sema/SemaOpenMP.cpp
clang/lib/Sema/UsedDeclVisitor.h
clang/test/OpenMP/bug44948.cpp
clang/test/OpenMP/declare_target_messages.cpp
clang/test/OpenMP/nvptx_target_exceptions_messages.cpp
clang/test/SemaCUDA/bad-calls-on-same-line.cu
clang/test/SemaCUDA/call-device-fn-from-host.cu
clang/test/SemaCUDA/call-host-fn-from-device.cu
clang/test/SemaCUDA/openmp-target.cu
clang/test/SemaCUDA/trace-through-global.cu
clang/test/SemaCXX/evaluated-expr-marker.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D70172.247275.patch
Type: text/x-patch
Size: 41391 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200228/f998a36a/attachment-0001.bin>
More information about the cfe-commits
mailing list