clang  3.9.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 namespace clang {
14 
15 /// Options controlling the behavior of code completion.
17 public:
18  /// Show macros in code completion results.
19  unsigned IncludeMacros : 1;
20 
21  /// Show code patterns in code completion results.
22  unsigned IncludeCodePatterns : 1;
23 
24  /// Show top-level decls in code completion results.
25  unsigned IncludeGlobals : 1;
26 
27  /// Show brief documentation comments in code completion results.
28  unsigned IncludeBriefComments : 1;
29 
31  IncludeMacros(0),
33  IncludeGlobals(1),
35  { }
36 };
37 
38 } // namespace clang
39 
40 #endif
41 
unsigned IncludeBriefComments
Show brief documentation comments in code completion results.
unsigned IncludeGlobals
Show top-level decls in code completion results.
unsigned IncludeCodePatterns
Show code patterns in code completion results.
Options controlling the behavior of code completion.
unsigned IncludeMacros
Show macros in code completion results.