I'm working on parsing large llvm-ir code using haskell & llvm-hs for some research work. I used gllvm (comment on this post - Getting LLVM IR for a clang/c
I tried out the Fortran Wapper in CoolProp Sources The example fortran code given in the wrapper uses the function PropsSI in CoolProp. double precision T,Q,D,h
How to get the information of DeclRefExpr from the basic block in Clang:CFG? This is code i have coded class CFGPrinter : public MatchFinder::MatchCallback { pu
I'm new to making C++ project. I may be not sure prerequisite knowledge of C++ project. [My environment] Windows 10 Python 2.7.18 Developer Command Prompt for V
Consider this code: #include <array> #include <cstddef> struct A { std::array<std::size_t, 4> test; void method() { std::size
I'm trying to install fastecdsa on macOS BigSur (M1 chip) by running (venv) $ pip3 install fastecdsa and even though I previously installed gmp: $ brew install
Consider this C++ code: struct SomeStruct { SomeStruct() noexcept; }; //SomeStruct::SomeStruct() noexcept {} class SomeClass { const bool b; const SomeS
I have a binary Swift xcframework which references two other open-source Swift frameworks (built from source). My framework along with its dependencies are buil
Can g++ (gcc) 11.1 be used on Debian Bullseye? Debian 11 (bullseye) is soon to be released, and I am interested in a compiler with C++20 and modules support. De
I have the following code: typedef unsigned char uchar; constexpr int leaing_ones(uchar const u8) noexcept { return __builtin_clz(static_cast<uchar>(~s
I was attempting to compile and run the example on this page that explores function pointers as a function input. The example I was running was the 66 line one
I hope you can help me on my RISC-V issue. I am currently experimenting with the toolchain support for RISC-V's vector (RVV) instructions. From what I found on
I come to you with a weird problem I've been facing. So last week, I installed llvm and libomp for a C project, and it compiled just fine with this at the start
Recently I'm configuring a new project in language C and C++ using both CMake and llvm Clang with Visual Studio Code for a program where EVERY exact object or l
I'm trying to install Quantum ESPRESSO on my computer and have run into an issue when using the ./configure command in the unpacked directory. $ ./configure ch
I am trying to build LLVM compilers so that I can enable OpenMP on the Apple M1. I am using the LLVM development tree, (since I saw some OpenMP runtime go into
I have a minimal c program for the m1 arm cpu that returns 42: void _start() { asm("mov x0, #42;"); asm("mov x16, #1;"); asm("svc 0x80;"); } This c
I'm using the following code get parent struct of a nested struct using clang libtooling. bool VisitRecordDecl(clang::RecordDecl *RD) { llvm::outs() <<
I'm trying to compile with a sysroot for Ubuntu 22.04 from a Ubuntu 20.04 image, and I'm having quite a bit of trouble, getting linker errors like these: /usr/b
Disclaimer: I am totally knew to VS Code, so, please, be gentle with me. :-) I am trying to set up VS Code for C++. However, I explicitly want to set it up so