summaryrefslogtreecommitdiffstats
path: root/clang/lib/Analysis/PrintfFormatString.cpp
diff options
context:
space:
mode:
authorAlexey Bader <aleksey.bader@mail.ru>2016-04-13 08:33:41 +0000
committerAlexey Bader <aleksey.bader@mail.ru>2016-04-13 08:33:41 +0000
commitb62f14400f301c6bbc891176b9008e39b1e01964 (patch)
tree307fe13eb09e63711cef5631a2c0bd29059541fe /clang/lib/Analysis/PrintfFormatString.cpp
parent58d6a959be057126f2063431d4eb9542de07aab9 (diff)
downloadbcm5719-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/Analysis/PrintfFormatString.cpp')
-rw-r--r--clang/lib/Analysis/PrintfFormatString.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Analysis/PrintfFormatString.cpp b/clang/lib/Analysis/PrintfFormatString.cpp
index 3cc982d4d0c..ff44a570de1 100644
--- a/clang/lib/Analysis/PrintfFormatString.cpp
+++ b/clang/lib/Analysis/PrintfFormatString.cpp
@@ -621,7 +621,7 @@ bool PrintfSpecifier::fixType(QualType QT, const LangOptions &LangOpt,
#define IMAGE_TYPE(ImgType, Id, SingletonId, Access, Suffix) \
case BuiltinType::Id:
-#include "clang/AST/OpenCLImageTypes.def"
+#include "clang/Basic/OpenCLImageTypes.def"
#define SIGNED_TYPE(Id, SingletonId)
#define UNSIGNED_TYPE(Id, SingletonId)
#define FLOATING_TYPE(Id, SingletonId)
OpenPOWER on IntegriCloud