diff options
author | Alexey Bader <aleksey.bader@mail.ru> | 2016-04-13 08:33:41 +0000 |
---|---|---|
committer | Alexey Bader <aleksey.bader@mail.ru> | 2016-04-13 08:33:41 +0000 |
commit | b62f14400f301c6bbc891176b9008e39b1e01964 (patch) | |
tree | 307fe13eb09e63711cef5631a2c0bd29059541fe /clang/lib/CodeGen/CGDebugInfo.cpp | |
parent | 58d6a959be057126f2063431d4eb9542de07aab9 (diff) | |
download | bcm5719-llvm-b62f14400f301c6bbc891176b9008e39b1e01964.tar.gz bcm5719-llvm-b62f14400f301c6bbc891176b9008e39b1e01964.zip |
[OpenCL] Move OpenCLImageTypes.def from clangAST to clangBasic library.
Putting OpenCLImageTypes.def to clangAST library violates layering requirement: "It's not OK for a Basic/ header to include an AST/ header".
This fixes the modules build.
Differential revision: http://reviews.llvm.org/D18954
Reviewers: Richard Smith, Vassil Vassilev.
llvm-svn: 266180
Diffstat (limited to 'clang/lib/CodeGen/CGDebugInfo.cpp')
-rw-r--r-- | clang/lib/CodeGen/CGDebugInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGDebugInfo.cpp b/clang/lib/CodeGen/CGDebugInfo.cpp index 759ee549678..13ee0fb1d99 100644 --- a/clang/lib/CodeGen/CGDebugInfo.cpp +++ b/clang/lib/CodeGen/CGDebugInfo.cpp @@ -478,7 +478,7 @@ llvm::DIType *CGDebugInfo::CreateType(const BuiltinType *BT) { case BuiltinType::Id: \ return getOrCreateStructPtrType("opencl_" #ImgType "_" #Suffix "_t", \ SingletonId); -#include "clang/AST/OpenCLImageTypes.def" +#include "clang/Basic/OpenCLImageTypes.def" case BuiltinType::OCLSampler: return DBuilder.createBasicType( "opencl_sampler_t", CGM.getContext().getTypeSize(BT), |