reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/lldb/unittests/Symbol/PostfixExpressionTest.cpp
   81   EXPECT_EQ("int(47)", ParseOneAndStringify("47"));
   82   EXPECT_EQ("$foo", ParseOneAndStringify("$foo"));
   83   EXPECT_EQ("+(int(1), int(2))", ParseOneAndStringify("1 2 +"));
   84   EXPECT_EQ("-(int(1), int(2))", ParseOneAndStringify("1 2 -"));
   85   EXPECT_EQ("@(int(1), int(2))", ParseOneAndStringify("1 2 @"));
   86   EXPECT_EQ("+(int(1), +(int(2), int(3)))", ParseOneAndStringify("1 2 3 + +"));
   87   EXPECT_EQ("+(+(int(1), int(2)), int(3))", ParseOneAndStringify("1 2 + 3 +"));
   88   EXPECT_EQ("^(int(1))", ParseOneAndStringify("1 ^"));
   89   EXPECT_EQ("^(^(int(1)))", ParseOneAndStringify("1 ^ ^"));
   90   EXPECT_EQ("^(+(int(1), ^(int(2))))", ParseOneAndStringify("1 2 ^ + ^"));
   91   EXPECT_EQ("-($foo, int(47))", ParseOneAndStringify("$foo 47 -"));
   92   EXPECT_EQ("+(int(47), int(-42))", ParseOneAndStringify("47 -42 +"));
   94   EXPECT_EQ("nullptr", ParseOneAndStringify("+"));
   95   EXPECT_EQ("nullptr", ParseOneAndStringify("^"));
   96   EXPECT_EQ("nullptr", ParseOneAndStringify("1 +"));
   97   EXPECT_EQ("nullptr", ParseOneAndStringify("1 2 ^"));
   98   EXPECT_EQ("nullptr", ParseOneAndStringify("1 2 3 +"));
   99   EXPECT_EQ("nullptr", ParseOneAndStringify("^ 1"));
  100   EXPECT_EQ("nullptr", ParseOneAndStringify("+ 1 2"));
  101   EXPECT_EQ("nullptr", ParseOneAndStringify("1 + 2"));
  102   EXPECT_EQ("nullptr", ParseOneAndStringify("1 2"));
  103   EXPECT_EQ("nullptr", ParseOneAndStringify(""));