1 //===-- TypeVendor.h --------------------------------------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 #ifndef liblldb_TypeVendor_h_
11 #define liblldb_TypeVendor_h_
13 #include "lldb/Core/ClangForward.h"
15 namespace lldb_private {
17 //----------------------------------------------------------------------
18 // The type vendor class is intended as a generic interface to search
19 // for Clang types that are not necessarily backed by a specific symbol
21 //----------------------------------------------------------------------
25 //------------------------------------------------------------------
26 // Constructors and Destructors
27 //------------------------------------------------------------------
38 FindTypes (const ConstString &name,
41 std::vector <ClangASTType> &types) = 0;
43 virtual clang::ASTContext *
44 GetClangASTContext () = 0;
47 //------------------------------------------------------------------
48 // Classes that inherit from TypeVendor can see and modify these
49 //------------------------------------------------------------------
52 //------------------------------------------------------------------
53 // For TypeVendor only
54 //------------------------------------------------------------------
55 DISALLOW_COPY_AND_ASSIGN (TypeVendor);
59 } // namespace lldb_private