clang  10.0.0svn
IndexingOptions.h
Go to the documentation of this file.
1 //===--- IndexingOptions.h - Options for indexing ---------------*- C++ -*-===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 
9 #ifndef LLVM_CLANG_INDEX_INDEXINGOPTIONS_H
10 #define LLVM_CLANG_INDEX_INDEXINGOPTIONS_H
11 
13 #include <memory>
14 #include <string>
15 
16 namespace clang {
17 namespace index {
18 
21  None,
23  All,
24  };
25 
28  bool IndexFunctionLocals = false;
30  // Whether to index macro definitions in the Preprocesor when preprocessor
31  // callback is not available (e.g. after parsing has finished). Note that
32  // macro references are not available in Proprocessor.
34  // Has no effect if IndexFunctionLocals are false.
37 };
38 
39 } // namespace index
40 } // namespace clang
41 
42 #endif // LLVM_CLANG_INDEX_INDEXINGOPTIONS_H
SystemSymbolFilterKind SystemSymbolFilter
Dataflow Directional Tag Classes.