diff options
author | Michael Forster <forster@google.com> | 2020-08-13 14:54:02 +0200 |
---|---|---|
committer | Dmitri Gribenko <gribozavr@gmail.com> | 2020-08-13 15:05:12 +0200 |
commit | a5b8757506b07e3091fe243b6c1e004220d3cba3 (patch) | |
tree | fc086afb8547ed402af6bd84240a11f38dfb616c /llvm/lib/Object/ELFObjectFile.cpp | |
parent | d538c5837a2cfedbf274133e29612da76003beed (diff) | |
download | llvm-a5b8757506b07e3091fe243b6c1e004220d3cba3.zip llvm-a5b8757506b07e3091fe243b6c1e004220d3cba3.tar.gz llvm-a5b8757506b07e3091fe243b6c1e004220d3cba3.tar.bz2 |
Introduce ns_error_domain attribute.
ns_error_domain can be used by, e.g. NS_ERROR_ENUM, in order to
identify a global declaration representing the domain constant.
Introduces the attribute, Sema handling, diagnostics, and test case.
This is cherry-picked from https://github.com/llvm/llvm-project-staging/commit/a14779f504b02ad0e4dbc39d6d10cadc7ed4cfd0
and adapted to updated Clang APIs.
Reviewed By: gribozavr2, aaron.ballman
Differential Revision: https://reviews.llvm.org/D84005
Diffstat (limited to 'llvm/lib/Object/ELFObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions