Files
clang-p2996/lldb/test/API/commands/expression/import-std-module/pair/main.cpp
Raphael Isemann b85222520f [lldb] Enable std::pair in CxxModuleHandler
This adds support for substituting std::pair instantiations with enabled
import-std-module.

With the fixes in parent revisions we can currently substitute a single pair
(however, a result that returns a second pair currently causes LLDB to crash
while importing the second template instantiation).

Reviewed By: aprantl

Differential Revision: https://reviews.llvm.org/D85141
2020-09-09 10:49:53 +02:00

7 lines
145 B
C++

#include <utility>
int main(int argc, char **argv) {
std::pair<int, int> pair_int(1234, 5678);
return 0; // Set break point at this line.
}