diff options
author | Anton Zabaznov <anton.zabaznov@intel.com> | 2021-07-30 06:34:17 +0300 |
---|---|---|
committer | Anton Zabaznov <anton.zabaznov@intel.com> | 2021-07-30 06:34:29 +0300 |
commit | da6626d12624675c46a73e8545fecc572695efeb (patch) | |
tree | f08c44487470ece0f9c7be15f3d7753596807f32 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | d1e4b25756730576996457ba7324e9bf210e3693 (diff) | |
download | llvm-da6626d12624675c46a73e8545fecc572695efeb.zip llvm-da6626d12624675c46a73e8545fecc572695efeb.tar.gz llvm-da6626d12624675c46a73e8545fecc572695efeb.tar.bz2 |
Revert "[OpenCL] Add support of __opencl_c_pipes feature macro."
This reverts commit d1e4b25756730576996457ba7324e9bf210e3693.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
-rw-r--r-- | clang/lib/Frontend/CompilerInvocation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Frontend/CompilerInvocation.cpp b/clang/lib/Frontend/CompilerInvocation.cpp index 02f08c69..63436b7 100644 --- a/clang/lib/Frontend/CompilerInvocation.cpp +++ b/clang/lib/Frontend/CompilerInvocation.cpp @@ -3173,7 +3173,7 @@ void CompilerInvocation::setLangDefaults(LangOptions &Opts, InputKind IK, Opts.ZVector = 0; Opts.setDefaultFPContractMode(LangOptions::FPM_On); Opts.OpenCLCPlusPlus = Opts.CPlusPlus; - Opts.OpenCLPipes = Opts.OpenCLCPlusPlus || Opts.OpenCLVersion == 200; + Opts.OpenCLPipe = Opts.OpenCLCPlusPlus || Opts.OpenCLVersion == 200; Opts.OpenCLGenericAddressSpace = Opts.OpenCLCPlusPlus || Opts.OpenCLVersion == 200; |