blob: 0095bdef48bd3e4f0639d86c9ac4d77882a8af0a [file] [log] [blame]
Anders Carlsson022012e2007-08-20 18:05:56 +00001//===---- CGBuiltin.cpp - Emit LLVM Code for builtins ---------------------===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file was developed by Anders Carlsson and is distributed under
6// the University of Illinois Open Source License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//
9//
10// This contains code to emit Builtin calls as LLVM code.
11//
12//===----------------------------------------------------------------------===//
13
14#include "CodeGenFunction.h"
15#include "CodeGenModule.h"
16#include "clang/AST/Builtins.h"
17#include "clang/AST/Expr.h"
18
19using namespace clang;
20using namespace CodeGen;
21
22RValue CodeGenFunction::EmitBuiltinExpr(unsigned builtinID, const CallExpr *E)
23{
24 switch (builtinID) {
25 default:
26 assert(0 && "Unknown builtin id");
27 }
28
29 return RValue::get(0);
30}