Frontend: Lift InputKind enumeration to top level.
llvm-svn: 105577
diff --git a/clang/lib/Frontend/CompilerInstance.cpp b/clang/lib/Frontend/CompilerInstance.cpp
index 8bedf50..4f6ed56 100644
--- a/clang/lib/Frontend/CompilerInstance.cpp
+++ b/clang/lib/Frontend/CompilerInstance.cpp
@@ -491,7 +491,7 @@
// 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