[PATCH] D153163: Add __attribute__((warn_unused_result)) to LLVMErrorRef
David Blaikie via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 16 12:40:45 PDT 2023
dblaikie created this revision.
dblaikie added reviewers: lhames, aaron.ballman.
Herald added a reviewer: deadalnix.
Herald added a project: All.
dblaikie requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Sending this out a bit half-baked unfortunately - we added support for
this context a couple of years ago in D102122 <https://reviews.llvm.org/D102122> (which turned up in clang 15
onwards: https://godbolt.org/z/haz8qrTT3 ), not sure if the macro detection
will correctly detect that the attribute is usable in a typedef context...
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D153163
Files:
llvm/examples/OrcV2Examples/OrcV2CBindingsLazy/OrcV2CBindingsLazy.c
llvm/examples/OrcV2Examples/OrcV2CBindingsVeryLazy/OrcV2CBindingsVeryLazy.c
llvm/include/llvm-c/Error.h
llvm/include/llvm-c/ExternC.h
llvm/unittests/ExecutionEngine/Orc/OrcCAPITest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D153163.532265.patch
Type: text/x-patch
Size: 5414 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230616/641b99c0/attachment.bin>
More information about the llvm-commits
mailing list