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/AST/ExprConstant.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/AST/ExprConstant.cpp')
-rw-r--r-- | clang/lib/AST/ExprConstant.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/AST/ExprConstant.cpp b/clang/lib/AST/ExprConstant.cpp index 152f46a0713..b38aeff8a6b 100644 --- a/clang/lib/AST/ExprConstant.cpp +++ b/clang/lib/AST/ExprConstant.cpp @@ -6303,7 +6303,7 @@ static int EvaluateBuiltinClassifyType(const CallExpr *E, case BuiltinType::ObjCSel: #define IMAGE_TYPE(ImgType, Id, SingletonId, Access, Suffix) \ case BuiltinType::Id: -#include "clang/AST/OpenCLImageTypes.def" +#include "clang/Basic/OpenCLImageTypes.def" case BuiltinType::OCLSampler: case BuiltinType::OCLEvent: case BuiltinType::OCLClkEvent: |