add the ability to get the llvm function corresponding to a library builtin.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41633 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/CodeGen/CGBuiltin.cpp b/CodeGen/CGBuiltin.cpp
index 833b188..a04557b 100644
--- a/CodeGen/CGBuiltin.cpp
+++ b/CodeGen/CGBuiltin.cpp
@@ -13,6 +13,7 @@
#include "CodeGenFunction.h"
#include "CodeGenModule.h"
+#include "clang/AST/ASTContext.h"
#include "clang/AST/Builtins.h"
#include "clang/AST/Expr.h"
#include "llvm/Constants.h"
@@ -45,3 +46,9 @@
return RValue::get(0);
}
+
+RValue CodeGenFunction::EmitBuiltinLibFuncExpr(unsigned BuiltinID,
+ const CallExpr *E) {
+ //llvm::Function *Callee = CGM.getBuiltinLibFunction(BuiltinID);
+ return RValue();
+}