clang  3.7.0
CodeCompleteOptions.h
Go to the documentation of this file.
1 //===---- CodeCompleteOptions.h - Code Completion Options -------*- C++ -*-===//
2 //
3 // The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 
10 #ifndef LLVM_CLANG_SEMA_CODECOMPLETEOPTIONS_H
11 #define LLVM_CLANG_SEMA_CODECOMPLETEOPTIONS_H
12 
13 /// Options controlling the behavior of code completion.
15 public:
16  /// Show macros in code completion results.
17  unsigned IncludeMacros : 1;
18 
19  /// Show code patterns in code completion results.
20  unsigned IncludeCodePatterns : 1;
21 
22  /// Show top-level decls in code completion results.
23  unsigned IncludeGlobals : 1;
24 
25  /// Show brief documentation comments in code completion results.
26  unsigned IncludeBriefComments : 1;
27 
29  IncludeMacros(0),
31  IncludeGlobals(1),
33  { }
34 };
35 
36 #endif
37 
unsigned IncludeCodePatterns
Show code patterns in code completion results.
Options controlling the behavior of code completion.
unsigned IncludeGlobals
Show top-level decls in code completion results.
unsigned IncludeBriefComments
Show brief documentation comments in code completion results.
unsigned IncludeMacros
Show macros in code completion results.