We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 992d562 commit 18fa00cCopy full SHA for 18fa00c
1 file changed
sources/LLVMSharp.Interop/Extensions/LLVMValueRef.cs
@@ -126,7 +126,7 @@ public readonly string GC
126
127
public readonly LLVMModuleRef GlobalParent => (IsAGlobalValue != null) ? LLVM.GetGlobalParent(this) : default;
128
129
- public readonly bool HasMetadata => ((IsAInstruction != null) || (IsAFunction != null) || (IsAGlobalVariable != null)) && LLVM.HasMetadata(this) != 0;
+ public readonly bool HasMetadata => (IsAInstruction != null) && LLVM.HasMetadata(this) != 0;
130
131
public readonly bool HasPersonalityFn => (IsAFunction != null) && LLVM.HasPersonalityFn(this) != 0;
132
0 commit comments