summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/FrontendActions.cpp
diff options
context:
space:
mode:
authorArtem Belevich <tra@google.com>2015-03-19 17:32:06 +0000
committerArtem Belevich <tra@google.com>2015-03-19 17:32:06 +0000
commit83a6dcc4701b61a6d79fd67edbc65669ef30bc4b (patch)
tree2ff1de46972b2b119c02cc6463ed1aa39d759dcc /clang/lib/Frontend/FrontendActions.cpp
parent7690fc5428dc7db586cc1dd8f3709ed870ffb35e (diff)
downloadbcm5719-llvm-83a6dcc4701b61a6d79fd67edbc65669ef30bc4b.tar.gz
bcm5719-llvm-83a6dcc4701b61a6d79fd67edbc65669ef30bc4b.zip
Ensure that we still parse preprocessed CUDA files as CUDA when we use
-save-temps option. Summary: Fixes PR22926. Review: http://reviews.llvm.org/D8383 llvm-svn: 232737
Diffstat (limited to 'clang/lib/Frontend/FrontendActions.cpp')
-rw-r--r--clang/lib/Frontend/FrontendActions.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Frontend/FrontendActions.cpp b/clang/lib/Frontend/FrontendActions.cpp
index da08937b728..bc119297aef 100644
--- a/clang/lib/Frontend/FrontendActions.cpp
+++ b/clang/lib/Frontend/FrontendActions.cpp
@@ -690,6 +690,7 @@ void PrintPreambleAction::ExecuteAction() {
case IK_None:
case IK_Asm:
case IK_PreprocessedC:
+ case IK_PreprocessedCuda:
case IK_PreprocessedCXX:
case IK_PreprocessedObjC:
case IK_PreprocessedObjCXX:
OpenPOWER on IntegriCloud