我有一个包含以下内容的约100行的cpp文件。 #include <clang/Frontend/CompilerInstance.h>
#include <clang/Frontend/FrontendActions.h>
#include <iostream>
// The filename that will be processed (twice).
static const c
我正在为伪代码语言编写LLVM IR生成器。这种语言应该允许重新定义函数。 这里有一个例子,我有两个名为“f”的函数,但它们有不同的参数。 function f(int i, float r) returns int { return i; }
function f(float r, float r2) returns int {return i; }
我认为LLVM可能不同,但我得到 er