aboutsummaryrefslogtreecommitdiff
path: root/include/clang/Parse/Action.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/clang/Parse/Action.h')
-rw-r--r--include/clang/Parse/Action.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/include/clang/Parse/Action.h b/include/clang/Parse/Action.h
index 9d8c5b1d1f..263dacb43d 100644
--- a/include/clang/Parse/Action.h
+++ b/include/clang/Parse/Action.h
@@ -2776,41 +2776,41 @@ public:
//@{
/// \brief Describes the context in which code completion occurs.
- enum CodeCompletionContext {
+ enum ParserCompletionContext {
/// \brief Code completion occurs at top-level or namespace context.
- CCC_Namespace,
+ PCC_Namespace,
/// \brief Code completion occurs within a class, struct, or union.
- CCC_Class,
+ PCC_Class,
/// \brief Code completion occurs within an Objective-C interface, protocol,
/// or category.
- CCC_ObjCInterface,
+ PCC_ObjCInterface,
/// \brief Code completion occurs within an Objective-C implementation or
/// category implementation
- CCC_ObjCImplementation,
+ PCC_ObjCImplementation,
/// \brief Code completion occurs within the list of instance variables
/// in an Objective-C interface, protocol, category, or implementation.
- CCC_ObjCInstanceVariableList,
+ PCC_ObjCInstanceVariableList,
/// \brief Code completion occurs following one or more template
/// headers.
- CCC_Template,
+ PCC_Template,
/// \brief Code completion occurs following one or more template
/// headers within a class.
- CCC_MemberTemplate,
+ PCC_MemberTemplate,
/// \brief Code completion occurs within an expression.
- CCC_Expression,
+ PCC_Expression,
/// \brief Code completion occurs within a statement, which may
/// also be an expression or a declaration.
- CCC_Statement,
+ PCC_Statement,
/// \brief Code completion occurs at the beginning of the
/// initialization statement (or expression) in a for loop.
- CCC_ForInit,
+ PCC_ForInit,
/// \brief Code completion occurs within the condition of an if,
/// while, switch, or for statement.
- CCC_Condition,
+ PCC_Condition,
/// \brief Code completion occurs within the body of a function on a
/// recovery path, where we do not have a specific handle on our position
/// in the grammar.
- CCC_RecoveryInFunction
+ PCC_RecoveryInFunction
};
/// \brief Code completion for an ordinary name that occurs within the given
@@ -2821,7 +2821,7 @@ public:
/// \param CompletionContext the context in which code completion
/// occurs.
virtual void CodeCompleteOrdinaryName(Scope *S,
- CodeCompletionContext CompletionContext) { }
+ ParserCompletionContext CompletionContext) { }
/// \brief Code completion for a member access expression.
///