diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2019-08-20 20:51:52 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2019-08-20 20:51:52 +0000 |
commit | 5f29bb8a675e8f96452b632e7129113f7dec850e (patch) | |
tree | 3d3f2a0d3ad10872a4dcaba8ec8d1d20c87ab147 /include/lldb/API/SBTypeCategory.h | |
parent | 88c643b6fec27eec436c8d138fee6346e92337d6 (diff) | |
download | src-5f29bb8a675e8f96452b632e7129113f7dec850e.tar.gz src-5f29bb8a675e8f96452b632e7129113f7dec850e.zip |
Vendor import of stripped lldb trunk r366426 (just before the release_90
branch point):
https://llvm.org/svn/llvm-project/lldb/trunk@366426
Notes
Notes:
svn path=/vendor/lldb/dist/; revision=351290
Diffstat (limited to 'include/lldb/API/SBTypeCategory.h')
-rw-r--r-- | include/lldb/API/SBTypeCategory.h | 27 |
1 files changed, 5 insertions, 22 deletions
diff --git a/include/lldb/API/SBTypeCategory.h b/include/lldb/API/SBTypeCategory.h index f44dfc451e44..c0f4cee1d268 100644 --- a/include/lldb/API/SBTypeCategory.h +++ b/include/lldb/API/SBTypeCategory.h @@ -1,10 +1,9 @@ //===-- SBTypeCategory.h --------------------------------------------*- C++ //-*-===// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// 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 // //===----------------------------------------------------------------------===// @@ -23,6 +22,8 @@ public: ~SBTypeCategory(); + explicit operator bool() const; + bool IsValid() const; bool GetEnabled(); @@ -46,9 +47,7 @@ public: uint32_t GetNumFilters(); -#ifndef LLDB_DISABLE_PYTHON uint32_t GetNumSynthetics(); -#endif SBTypeNameSpecifier GetTypeNameSpecifierForFilterAtIndex(uint32_t); @@ -56,43 +55,29 @@ public: SBTypeNameSpecifier GetTypeNameSpecifierForSummaryAtIndex(uint32_t); -#ifndef LLDB_DISABLE_PYTHON SBTypeNameSpecifier GetTypeNameSpecifierForSyntheticAtIndex(uint32_t); -#endif SBTypeFilter GetFilterForType(SBTypeNameSpecifier); SBTypeFormat GetFormatForType(SBTypeNameSpecifier); -#ifndef LLDB_DISABLE_PYTHON SBTypeSummary GetSummaryForType(SBTypeNameSpecifier); -#endif -#ifndef LLDB_DISABLE_PYTHON SBTypeSynthetic GetSyntheticForType(SBTypeNameSpecifier); -#endif -#ifndef LLDB_DISABLE_PYTHON SBTypeFilter GetFilterAtIndex(uint32_t); -#endif SBTypeFormat GetFormatAtIndex(uint32_t); -#ifndef LLDB_DISABLE_PYTHON SBTypeSummary GetSummaryAtIndex(uint32_t); -#endif -#ifndef LLDB_DISABLE_PYTHON SBTypeSynthetic GetSyntheticAtIndex(uint32_t); -#endif bool AddTypeFormat(SBTypeNameSpecifier, SBTypeFormat); bool DeleteTypeFormat(SBTypeNameSpecifier); -#ifndef LLDB_DISABLE_PYTHON bool AddTypeSummary(SBTypeNameSpecifier, SBTypeSummary); -#endif bool DeleteTypeSummary(SBTypeNameSpecifier); @@ -100,11 +85,9 @@ public: bool DeleteTypeFilter(SBTypeNameSpecifier); -#ifndef LLDB_DISABLE_PYTHON bool AddTypeSynthetic(SBTypeNameSpecifier, SBTypeSynthetic); bool DeleteTypeSynthetic(SBTypeNameSpecifier); -#endif lldb::SBTypeCategory &operator=(const lldb::SBTypeCategory &rhs); |