aboutsummaryrefslogtreecommitdiff
path: root/lib/Frontend/FrontendOptions.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Frontend/FrontendOptions.cpp')
-rw-r--r--lib/Frontend/FrontendOptions.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Frontend/FrontendOptions.cpp b/lib/Frontend/FrontendOptions.cpp
index ea4005f7c9..f1823c69e9 100644
--- a/lib/Frontend/FrontendOptions.cpp
+++ b/lib/Frontend/FrontendOptions.cpp
@@ -13,7 +13,7 @@ using namespace clang;
InputKind FrontendOptions::getInputKindForExtension(StringRef Extension) {
return llvm::StringSwitch<InputKind>(Extension)
- .Case("ast", IK_AST)
+ .Cases("ast", "pcm", IK_AST)
.Case("c", IK_C)
.Cases("S", "s", IK_Asm)
.Case("i", IK_PreprocessedC)