Move LLVMRustAttribute[Kind]
out of LLVMWrapper.h
This commit is contained in:
parent
42188c3ca8
commit
44a056a50b
3 changed files with 92 additions and 91 deletions
|
@ -204,7 +204,7 @@ pub enum DLLStorageClass {
|
|||
DllExport = 2, // Function to be accessible from DLL.
|
||||
}
|
||||
|
||||
/// Matches LLVMRustAttribute in LLVMWrapper.h
|
||||
/// Must match the layout of `LLVMRustAttributeKind`.
|
||||
/// Semantically a subset of the C++ enum llvm::Attribute::AttrKind,
|
||||
/// though it is not ABI compatible (since it's a C++ enum)
|
||||
#[repr(C)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue