llvm-project/llvm/include/llvm-c
Amaury Sechet 60b31453ac Add LLVMGetAttrKindID in the C API in order to facilitate migration away from LLVMAttribute
Summary:
LLVMAttribute has outlived its utility and is becoming a problem for C API users that what to use all the LLVM attributes. In order to help moving away from LLVMAttribute in a smooth manner, this diff introduce LLVMGetAttrKindIDInContext, which can be used instead of the enum values.

See D18749 for reference.

Reviewers: Wallbraker, whitequark, joker.eph, echristo, rafael

Subscribers: llvm-commits

Differential Revision: http://reviews.llvm.org/D19081

llvm-svn: 266842
2016-04-20 01:02:12 +00:00
..
Transforms Reorganize the C API headers to improve build times. 2015-12-18 01:46:52 +00:00
Analysis.h Reorganize the C API headers to improve build times. 2015-12-18 01:46:52 +00:00
BitReader.h Deprecate a few C APIs. 2015-12-18 23:46:42 +00:00
BitWriter.h Reorganize the C API headers to improve build times. 2015-12-18 01:46:52 +00:00
Core.h Add LLVMGetAttrKindID in the C API in order to facilitate migration away from LLVMAttribute 2016-04-20 01:02:12 +00:00
Disassembler.h Fix Clang-tidy modernize-deprecated-headers warnings in some files; other minor fixes. 2016-03-28 17:40:08 +00:00
ErrorHandling.h Make some headers self-contained, remove unused includes that violate layering. 2016-01-27 16:05:37 +00:00
ExecutionEngine.h Delete APIs that have been deprecated since 2010. 2015-12-19 21:42:07 +00:00
IRReader.h Reorganize the C API headers to improve build times. 2015-12-18 01:46:52 +00:00
Initialization.h Reorganize the C API headers to improve build times. 2015-12-18 01:46:52 +00:00
LinkTimeOptimizer.h include/llvm-c: Whitespace. 2013-10-23 17:56:29 +00:00
Linker.h Delete the deprecated LLVMLinkModules. 2016-02-12 15:28:45 +00:00
Object.h Reorganize the C API headers to improve build times. 2015-12-18 01:46:52 +00:00
OrcBindings.h Remove unused import in Orc C API 2016-03-07 22:40:07 +00:00
Support.h Reorganize the C API headers to improve build times. 2015-12-18 01:46:52 +00:00
Target.h Move LLVMCreateTargetData and LLVMDisposeTargetData together. NFC 2016-02-17 22:41:09 +00:00
TargetMachine.h Restore the capability to manipulate datalayout from the C API 2016-02-16 05:11:24 +00:00
Types.h Reorganize the C API headers to improve build times. 2015-12-18 01:46:52 +00:00
lto.h Add a libLTO API to stop/restart ThinLTO between optimizations and CodeGen 2016-04-01 06:47:02 +00:00
module.modulemap [modules] The LLVM C API does not require C++! 2014-06-12 22:09:39 +00:00