© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
19 replies
Theos

❔ LLVMSharp weird function

Hey, so I'm trynig to convert my class into a LLVM const.
I have a class callled NumberAST:
class NumberAST
{
  public NumberType type = NumberType.Int64;
  public string value = "100000";
}
class NumberAST
{
  public NumberType type = NumberType.Int64;
  public string value = "100000";
}

And I was wondering how to convert it into llvm const.
I found this thingy
LLVMValueRef.CreateConstIntOfString()
LLVMValueRef.CreateConstIntOfString()
but I can't find it in the docs so i'm not sure how to use it
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

LLVMSharp guidance needed
C#CC# / help
4y ago
❔ LLVMSharp create signed and unsigned constants.
C#CC# / help
3y ago
❔ Weird Timing of Functions
C#CC# / help
3y ago
Composing a validation function using functional concepts
C#CC# / help
4y ago