diff options
Diffstat (limited to 'include/clang/Frontend')
-rw-r--r-- | include/clang/Frontend/FrontendAction.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/clang/Frontend/FrontendAction.h b/include/clang/Frontend/FrontendAction.h index 3992c92874..5a627ef960 100644 --- a/include/clang/Frontend/FrontendAction.h +++ b/include/clang/Frontend/FrontendAction.h @@ -32,7 +32,8 @@ enum InputKind { IK_PreprocessedObjC, IK_PreprocessedObjCXX, IK_OpenCL, - IK_AST + IK_AST, + IK_LLVM_IR }; @@ -153,6 +154,9 @@ public: /// hasASTFileSupport - Does this action support use with AST files? virtual bool hasASTFileSupport() const { return !usesPreprocessorOnly(); } + /// hasIRSupport - Does this action support use with IR files? + virtual bool hasIRSupport() const { return false; } + /// hasCodeCompletionSupport - Does this action support use with code /// completion? virtual bool hasCodeCompletionSupport() const { return false; } |