Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-05-10 08:42:47

0001 //===-- ExpressionTypeSystemHelper.h ---------------------------------*- C++
0002 //-*-===//
0003 //
0004 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
0005 // See https://llvm.org/LICENSE.txt for license information.
0006 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
0007 //
0008 //===----------------------------------------------------------------------===//
0009 
0010 #ifndef LLDB_EXPRESSION_EXPRESSIONTYPESYSTEMHELPER_H
0011 #define LLDB_EXPRESSION_EXPRESSIONTYPESYSTEMHELPER_H
0012 
0013 #include "llvm/Support/Casting.h"
0014 #include "llvm/Support/ExtensibleRTTI.h"
0015 
0016 namespace lldb_private {
0017 
0018 /// \class ExpressionTypeSystemHelper ExpressionTypeSystemHelper.h
0019 /// "lldb/Expression/ExpressionTypeSystemHelper.h"
0020 /// A helper object that the Expression can pass to its ExpressionParser
0021 /// to provide generic information that any type of expression will need to
0022 /// supply.  It's only job is to support dyn_cast so that the expression parser
0023 /// can cast it back to the requisite specific type.
0024 ///
0025 
0026 class ExpressionTypeSystemHelper
0027     : public llvm::RTTIExtends<ExpressionTypeSystemHelper, llvm::RTTIRoot> {
0028 public:
0029   /// LLVM RTTI support
0030   static char ID;
0031 
0032   virtual ~ExpressionTypeSystemHelper() = default;
0033 };
0034 
0035 } // namespace lldb_private
0036 
0037 #endif // LLDB_EXPRESSION_EXPRESSIONTYPESYSTEMHELPER_H