Slightly improve the diagnostic by including the function name.
This has been separated out from https://reviews.llvm.org/D33945.
Paths
| Differential D34871
[OpenCL] Add function name to extension diagnostic AbandonedPublic Authored by joey on Jun 30 2017, 1:49 AM.
Details
Summary Slightly improve the diagnostic by including the function name. This has been separated out from https://reviews.llvm.org/D33945.
Diff Detail Event TimelineComment Actions LGTM.
This revision is now accepted and ready to land.Jun 30 2017, 2:48 AM
Revision Contents
Diff 104660 Sema/Sema.cpp
SemaOpenCL/extension-begin.cl
clang/Basic/DiagnosticSemaKinds.td
clang/Sema/Sema.h
|
I think it's better to use NamedDecl to allow this function be used for declarations other than FunctionDecl.