Daniel Dunbar | 45d196b | 2008-11-01 01:53:16 +0000 | [diff] [blame] | 1 | //===-- CGBuilder.h - Choose IRBuilder implementation ----------*- C++ -*-===// |
| 2 | // |
| 3 | // The LLVM Compiler Infrastructure |
| 4 | // |
| 5 | // This file is distributed under the University of Illinois Open Source |
| 6 | // License. See LICENSE.TXT for details. |
| 7 | // |
| 8 | //===----------------------------------------------------------------------===// |
| 9 | |
| 10 | #ifndef CLANG_CODEGEN_CGBUILDER_H |
| 11 | #define CLANG_CODEGEN_CGBUILDER_H |
| 12 | |
| 13 | #include "llvm/Support/IRBuilder.h" |
| 14 | |
| 15 | namespace clang { |
| 16 | namespace CodeGen { |
Chris Lattner | 526d927 | 2008-11-10 06:31:46 +0000 | [diff] [blame^] | 17 | // Don't preserve names on values by default. |
| 18 | typedef llvm::IRBuilder<false> CGBuilderTy; |
Daniel Dunbar | 45d196b | 2008-11-01 01:53:16 +0000 | [diff] [blame] | 19 | } // end namespace CodeGen |
| 20 | } // end namespace clang |
| 21 | |
| 22 | #endif |