aboutsummaryrefslogtreecommitdiff
path: root/include/clang/Frontend/FrontendAction.h
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2010-06-07 23:22:09 +0000
committerDaniel Dunbar <daniel@zuster.org>2010-06-07 23:22:09 +0000
commitc34ce3fa613d5e4a283e53615fceafd17390445b (patch)
tree8145f4405b4b445b815d3e32552d2a48b2107423 /include/clang/Frontend/FrontendAction.h
parent05a7f3ddce9a88249b05b896e70f66e9ed381743 (diff)
Frontend: Lift InputKind enumeration to top level.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@105577 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Frontend/FrontendAction.h')
-rw-r--r--include/clang/Frontend/FrontendAction.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/include/clang/Frontend/FrontendAction.h b/include/clang/Frontend/FrontendAction.h
index 7b7db3785c..8e6b86aa74 100644
--- a/include/clang/Frontend/FrontendAction.h
+++ b/include/clang/Frontend/FrontendAction.h
@@ -20,6 +20,22 @@ class ASTConsumer;
class CompilerInstance;
class ASTMergeAction;
+enum InputKind {
+ IK_None,
+ IK_Asm,
+ IK_C,
+ IK_CXX,
+ IK_ObjC,
+ IK_ObjCXX,
+ IK_PreprocessedC,
+ IK_PreprocessedCXX,
+ IK_PreprocessedObjC,
+ IK_PreprocessedObjCXX,
+ IK_OpenCL,
+ IK_AST
+};
+
+
/// FrontendAction - Abstract base class for actions which can be performed by
/// the frontend.
class FrontendAction {