aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Frontend/FrontendOptions.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Frontend/FrontendOptions.cpp')
-rw-r--r--lib/Frontend/FrontendOptions.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Frontend/FrontendOptions.cpp b/lib/Frontend/FrontendOptions.cpp
index 9dfee244ea36..0a2005192a19 100644
--- a/lib/Frontend/FrontendOptions.cpp
+++ b/lib/Frontend/FrontendOptions.cpp
@@ -26,6 +26,7 @@ InputKind FrontendOptions::getInputKindForExtension(llvm::StringRef Extension) {
.Cases("C", "cc", "cp", IK_CXX)
.Cases("cpp", "CPP", "c++", "cxx", "hpp", IK_CXX)
.Case("cl", IK_OpenCL)
+ .Case("cu", IK_CUDA)
.Cases("ll", "bc", IK_LLVM_IR)
.Default(IK_C);
}