FailedChanges

Summary

  1. [CUDA][HIP][OpenMP] Emit deferred diagnostics by a post-parsing AST travese (details)
Commit 1b978ddba05cb15e22b4e75adb5e7362ad861987 by Yaxun.Liu
[CUDA][HIP][OpenMP] Emit deferred diagnostics by a post-parsing AST travese

This patch removes the explicit call graph for CUDA/HIP/OpenMP deferred
diagnostics generated during parsing since it is error prone due to
incomplete information about function declarations during parsing. In stead,
this patch does a post-parsing AST traverse and emits deferred diagnostics
based on the use graph implicitly generated during the traverse.

Differential Revision: https://reviews.llvm.org/D70172
The file was modifiedclang/include/clang/Sema/Sema.h
The file was modifiedclang/lib/Sema/SemaOpenMP.cpp
The file was modifiedclang/lib/Sema/SemaCUDA.cpp
The file was modifiedclang/test/SemaCUDA/call-host-fn-from-device.cu
The file was modifiedclang/test/SemaCUDA/openmp-target.cu
The file was modifiedclang/test/SemaCUDA/trace-through-global.cu
The file was modifiedclang/lib/Sema/Sema.cpp
The file was modifiedclang/test/OpenMP/nvptx_target_exceptions_messages.cpp
The file was modifiedclang/lib/Sema/SemaDecl.cpp
The file was modifiedclang/test/SemaCUDA/bad-calls-on-same-line.cu
The file was modifiedclang/test/SemaCUDA/call-device-fn-from-host.cu
The file was modifiedclang/test/OpenMP/declare_target_messages.cpp
The file was modifiedclang/lib/Sema/SemaExpr.cpp