about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm
diff options
context:
space:
mode:
authorZalathar <Zalathar@users.noreply.github.com>2024-11-04 12:11:01 +1100
committerZalathar <Zalathar@users.noreply.github.com>2024-11-04 12:27:23 +1100
commit44a056a50b5eecad9e16188d18ea55011c153e7a (patch)
tree978404f7e54fad202babef638a4455df583b8118 /compiler/rustc_codegen_llvm
parent42188c3ca8ed84210c8cab6b1e2d553925e3dd2f (diff)
downloadrust-44a056a50b5eecad9e16188d18ea55011c153e7a.tar.gz
rust-44a056a50b5eecad9e16188d18ea55011c153e7a.zip
Move `LLVMRustAttribute[Kind]` out of `LLVMWrapper.h`
Diffstat (limited to 'compiler/rustc_codegen_llvm')
-rw-r--r--compiler/rustc_codegen_llvm/src/llvm/ffi.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_llvm/src/llvm/ffi.rs b/compiler/rustc_codegen_llvm/src/llvm/ffi.rs
index d84ae8d8836..26b32d6b886 100644
--- a/compiler/rustc_codegen_llvm/src/llvm/ffi.rs
+++ b/compiler/rustc_codegen_llvm/src/llvm/ffi.rs
@@ -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)]