diff options
author | Peter Collingbourne <peter@pcc.me.uk> | 2011-10-09 22:03:19 +0000 |
---|---|---|
committer | Peter Collingbourne <peter@pcc.me.uk> | 2011-10-09 22:03:19 +0000 |
commit | ae57eadbc1a923efb72924765445db915cc23a9b (patch) | |
tree | a913afeea04847073a1a6b258c030d2453e9f1a5 /lib/Frontend/CompilerInvocation.cpp | |
parent | 33ab0da4b50c0868f0dbbbbb8d018b44acd2bd4d (diff) |
OpenCL: add driver/frontend support for precompiled headers
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@141516 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend/CompilerInvocation.cpp')
-rw-r--r-- | lib/Frontend/CompilerInvocation.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Frontend/CompilerInvocation.cpp b/lib/Frontend/CompilerInvocation.cpp index b35bc65c7e..ec65655e99 100644 --- a/lib/Frontend/CompilerInvocation.cpp +++ b/lib/Frontend/CompilerInvocation.cpp @@ -1340,6 +1340,7 @@ static InputKind ParseFrontendArgs(FrontendOptions &Opts, ArgList &Args, .Case("objective-c++-cpp-output", IK_PreprocessedObjCXX) .Case("objc++-cpp-output", IK_PreprocessedObjCXX) .Case("c-header", IK_C) + .Case("cl-header", IK_OpenCL) .Case("objective-c-header", IK_ObjC) .Case("c++-header", IK_CXX) .Case("objective-c++-header", IK_ObjCXX) |