aboutsummaryrefslogtreecommitdiff
path: root/include/clang/Sema/Action.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/clang/Sema/Action.h')
-rw-r--r--include/clang/Sema/Action.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/clang/Sema/Action.h b/include/clang/Sema/Action.h
index 1d3d460b41..d407037515 100644
--- a/include/clang/Sema/Action.h
+++ b/include/clang/Sema/Action.h
@@ -3205,6 +3205,16 @@ public:
IdentifierInfo **SelIdents,
unsigned NumSelIdents) { }
+ /// \brief Code completion for a preprocessor directive.
+ ///
+ /// \brief S The scope in which the preprocessor directive is being parsed.
+ /// \brief InConditional Whether we're inside a preprocessor conditional.
+ virtual void CodeCompletePreprocessorDirective(Scope *S, bool InConditional) {
+ }
+
+ /// \brief Code completion while in an area of the translation unit that was
+ /// excluded due to preprocessor conditionals.
+ virtual void CodeCompleteInPreprocessorConditionalExclusion(Scope *S) { }
//@}
};