LCOV - code coverage report
Current view: top level - clang/tools/extra/include-fixer - InMemorySymbolIndex.h (source / functions) Hit Total Coverage
Test: llvm-toolchain.info Lines: 0 1 0.0 %
Date: 2017-09-14 15:23:50 Functions: 0 2 0.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : //===-- InMemorySymbolIndex.h -----------------------------------*- 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_TOOLS_EXTRA_INCLUDE_FIXER_INMEMORYSYMBOLINDEX_H
      11             : #define LLVM_CLANG_TOOLS_EXTRA_INCLUDE_FIXER_INMEMORYSYMBOLINDEX_H
      12             : 
      13             : #include "SymbolIndex.h"
      14             : #include <map>
      15             : #include <string>
      16             : #include <vector>
      17             : 
      18             : namespace clang {
      19             : namespace include_fixer {
      20             : 
      21             : /// Xref database with fixed content.
      22           0 : class InMemorySymbolIndex : public SymbolIndex {
      23             : public:
      24             :   InMemorySymbolIndex(
      25             :       const std::vector<find_all_symbols::SymbolAndSignals> &Symbols);
      26             : 
      27             :   std::vector<find_all_symbols::SymbolAndSignals>
      28             :   search(llvm::StringRef Identifier) override;
      29             : 
      30             : private:
      31             :   std::map<std::string, std::vector<find_all_symbols::SymbolAndSignals>>
      32             :       LookupTable;
      33             : };
      34             : 
      35             : } // namespace include_fixer
      36             : } // namespace clang
      37             : 
      38             : #endif // LLVM_CLANG_TOOLS_EXTRA_INCLUDE_FIXER_INMEMORYSYMBOLINDEX_H

Generated by: LCOV version 1.13