diff options
author | Anders Carlsson <andersca@mac.com> | 2007-12-10 08:48:18 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@mac.com> | 2007-12-10 08:48:18 +0000 |
commit | c916d70e0b65bbf6c2800e2818995ab1ce31388e (patch) | |
tree | 92893899e0042cbed455c8ee9362dcef81b489e9 | |
parent | 0d1638ee36bcc76c0f944ba8c1d878956d570ede (diff) |
Forgot this file.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@44790 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/clang/AST/TargetBuiltins.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/include/clang/AST/TargetBuiltins.h b/include/clang/AST/TargetBuiltins.h new file mode 100644 index 0000000000..da40fb1433 --- /dev/null +++ b/include/clang/AST/TargetBuiltins.h @@ -0,0 +1,30 @@ +//===--- Targets.cpp - Implement -arch option and targets -----------------===// +// +// The LLVM Compiler Infrastructure +// +// This file was developed by Chris Lattner and is distributed under +// the University of Illinois Open Source License. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// + +#include "clang/AST/Builtins.h" + +/// X86 builtins +namespace X86 { + enum { + LastTIBuiltin = clang::Builtin::FirstTSBuiltin-1, +#define BUILTIN(ID, TYPE, ATTRS) BI##ID, +#include "X86Builtins.def" + LastTSBuiltin + }; +} + +/// PPC builtins +namespace PPC { + enum { + LastTIBuiltin = clang::Builtin::FirstTSBuiltin-1, +#define BUILTIN(ID, TYPE, ATTRS) BI##ID, +#include "PPCBuiltins.def" + LastTSBuiltin + }; +} |