#include "lldb/Symbol/PostfixExpression.h"
#include "lldb/Utility/DataExtractor.h"
#include "lldb/Utility/StreamString.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/DebugInfo/DIContext.h"
#include "llvm/DebugInfo/DWARF/DWARFExpression.h"
#include "llvm/Support/FormatVariadic.h"
#include "llvm/Support/raw_ostream.h"
#include "gmock/gmock.h"
#include "gtest/gtest.h"
usingnamespacelldb_private;
usingnamespacelldb_private::postfix;
static std::string ToString(BinaryOpNode::OpType type) { … }
static std::string ToString(UnaryOpNode::OpType type) { … }
struct ASTPrinter : public Visitor<std::string> { … };
static std::string ParseOneAndStringify(llvm::StringRef expr) { … }
TEST(PostfixExpression, ParseOneExpression) { … }
static std::vector<std::pair<std::string, std::string>>
ParseFPOAndStringify(llvm::StringRef prog) { … }
TEST(PostfixExpression, ParseFPOProgram) { … }
static std::string ParseAndGenerateDWARF(llvm::StringRef expr) { … }
TEST(PostfixExpression, ToDWARF) { … }