1 //===---- CodeCompleteOptions.h - Code Completion Options -------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 #ifndef LLVM_CLANG_SEMA_CODECOMPLETEOPTIONS_H
11 #define LLVM_CLANG_SEMA_CODECOMPLETEOPTIONS_H
13 /// Options controlling the behavior of code completion.
14 class CodeCompleteOptions {
16 /// Show macros in code completion results.
17 unsigned IncludeMacros : 1;
19 /// Show code patterns in code completion results.
20 unsigned IncludeCodePatterns : 1;
22 /// Show top-level decls in code completion results.
23 unsigned IncludeGlobals : 1;
25 /// Show brief documentation comments in code completion results.
26 unsigned IncludeBriefComments : 1;
28 CodeCompleteOptions() :
30 IncludeCodePatterns(0),
32 IncludeBriefComments(0)