aboutsummaryrefslogtreecommitdiff
path: root/lib/Frontend/CompilerInstance.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Frontend/CompilerInstance.cpp')
-rw-r--r--lib/Frontend/CompilerInstance.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Frontend/CompilerInstance.cpp b/lib/Frontend/CompilerInstance.cpp
index 8bedf50c27..4f6ed56410 100644
--- a/lib/Frontend/CompilerInstance.cpp
+++ b/lib/Frontend/CompilerInstance.cpp
@@ -491,7 +491,7 @@ bool CompilerInstance::ExecuteAction(FrontendAction &Act) {
// If we aren't using an AST file, setup the file and source managers and
// the preprocessor.
- bool IsAST = getFrontendOpts().Inputs[i].first == FrontendOptions::IK_AST;
+ bool IsAST = getFrontendOpts().Inputs[i].first == IK_AST;
if (!IsAST) {
if (!i) {
// Create a file manager object to provide access to and cache the