003 File Manager
Current Path:
/usr/src/contrib/llvm-project/lldb/include/lldb/DataFormatters
usr
/
src
/
contrib
/
llvm-project
/
lldb
/
include
/
lldb
/
DataFormatters
/
📁
..
📄
CXXFunctionPointer.h
(806 B)
📄
DataVisualization.h
(3.96 KB)
📄
DumpValueObjectOptions.h
(4.82 KB)
📄
FormatCache.h
(1.95 KB)
📄
FormatClasses.h
(4.7 KB)
📄
FormatManager.h
(8.16 KB)
📄
FormattersContainer.h
(9.77 KB)
📄
FormattersHelpers.h
(5.69 KB)
📄
LanguageCategory.h
(1.59 KB)
📄
StringPrinter.h
(5.01 KB)
📄
TypeCategory.h
(12.06 KB)
📄
TypeCategoryMap.h
(3 KB)
📄
TypeFormat.h
(5.87 KB)
📄
TypeSummary.h
(10.88 KB)
📄
TypeSynthetic.h
(13.9 KB)
📄
ValueObjectPrinter.h
(4.29 KB)
📄
VectorIterator.h
(1.3 KB)
📄
VectorType.h
(849 B)
Editing: LanguageCategory.h
//===-- LanguageCategory.h----------------------------------------*- C++ //-*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// #ifndef LLDB_DATAFORMATTERS_LANGUAGECATEGORY_H #define LLDB_DATAFORMATTERS_LANGUAGECATEGORY_H #include "lldb/DataFormatters/FormatCache.h" #include "lldb/DataFormatters/FormatClasses.h" #include "lldb/lldb-public.h" #include <memory> namespace lldb_private { class LanguageCategory { public: typedef std::unique_ptr<LanguageCategory> UniquePointer; LanguageCategory(lldb::LanguageType lang_type); template <typename ImplSP> bool Get(FormattersMatchData &match_data, ImplSP &format_sp); template <typename ImplSP> bool GetHardcoded(FormatManager &fmt_mgr, FormattersMatchData &match_data, ImplSP &format_sp); lldb::TypeCategoryImplSP GetCategory() const; FormatCache &GetFormatCache(); void Enable(); void Disable(); bool IsEnabled(); private: lldb::TypeCategoryImplSP m_category_sp; HardcodedFormatters::HardcodedFormatFinder m_hardcoded_formats; HardcodedFormatters::HardcodedSummaryFinder m_hardcoded_summaries; HardcodedFormatters::HardcodedSyntheticFinder m_hardcoded_synthetics; template <typename ImplSP> auto &GetHardcodedFinder(); lldb_private::FormatCache m_format_cache; bool m_enabled; }; } // namespace lldb_private #endif // LLDB_DATAFORMATTERS_LANGUAGECATEGORY_H
Upload File
Create Folder