[PATCH] D145994: WIP
Nick Desaulniers via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 13 15:22:47 PDT 2023
nickdesaulniers created this revision.
Herald added a subscriber: hiraditya.
Herald added a project: All.
nickdesaulniers requested review of this revision.
Herald added projects: clang, LLVM.
Herald added subscribers: llvm-commits, cfe-commits.
Rather than have a "srcloc" associated with each call of dontcall-warn
or dontcall-error attributed function, we could reuse the existing
DILocation metadata (if it's emitted).
TODO: child commit that converts to emitting such DILocations.
TODO: remove mention of srcloc from langref.
TODO: update tests.
TODO: make clang stop emitting srcloc.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D145994
Files:
clang/include/clang/Basic/CodeGenOptions.def
clang/include/clang/Basic/DiagnosticFrontendKinds.td
clang/lib/CodeGen/CodeGenAction.cpp
llvm/include/llvm/IR/DiagnosticInfo.h
llvm/lib/IR/DiagnosticInfo.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D145994.504864.patch
Type: text/x-patch
Size: 6670 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230313/52bf27d6/attachment.bin>
More information about the llvm-commits
mailing list