From 7f92f2d8d9b7a07900c030183bc13a9ff60057cc Mon Sep 17 00:00:00 2001 From: Guy Benyei Date: Tue, 18 Dec 2012 14:30:41 +0000 Subject: Revert changes from r170428, as I accidentally changed the line endings of these files to Windows style. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@170431 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/CodeGenTypes.cpp | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'lib/CodeGen/CodeGenTypes.cpp') diff --git a/lib/CodeGen/CodeGenTypes.cpp b/lib/CodeGen/CodeGenTypes.cpp index 8cb6dd001c..a0effa8c1f 100644 --- a/lib/CodeGen/CodeGenTypes.cpp +++ b/lib/CodeGen/CodeGenTypes.cpp @@ -14,7 +14,6 @@ #include "CodeGenTypes.h" #include "CGCXXABI.h" #include "CGCall.h" -#include "CGOpenCLRuntime.h" #include "CGRecordLayout.h" #include "TargetInfo.h" #include "clang/AST/ASTContext.h" @@ -367,15 +366,6 @@ llvm::Type *CodeGenTypes::ConvertType(QualType T) { case BuiltinType::Int128: ResultType = llvm::IntegerType::get(getLLVMContext(), 128); break; - - case BuiltinType::OCLImage1d: - case BuiltinType::OCLImage1dArray: - case BuiltinType::OCLImage1dBuffer: - case BuiltinType::OCLImage2d: - case BuiltinType::OCLImage2dArray: - case BuiltinType::OCLImage3d: - ResultType = CGM.getOpenCLRuntime().convertOpenCLSpecificType(Ty); - break; case BuiltinType::Dependent: #define BUILTIN_TYPE(Id, SingletonId) -- cgit v1.2.3