[cfe-commits] r44790 - /cfe/trunk/include/clang/AST/TargetBuiltins.h

Anders Carlsson andersca at mac.com
Mon Dec 10 00:48:18 PST 2007


Author: andersca
Date: Mon Dec 10 02:48:18 2007
New Revision: 44790

URL: http://llvm.org/viewvc/llvm-project?rev=44790&view=rev
Log:
Forgot this file.

Added:
    cfe/trunk/include/clang/AST/TargetBuiltins.h

Added: cfe/trunk/include/clang/AST/TargetBuiltins.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/TargetBuiltins.h?rev=44790&view=auto

==============================================================================
--- cfe/trunk/include/clang/AST/TargetBuiltins.h (added)
+++ cfe/trunk/include/clang/AST/TargetBuiltins.h Mon Dec 10 02:48:18 2007
@@ -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
+    };
+}





More information about the cfe-commits mailing list