[clang-repl][NFC] Fix calling convention mismatch in test
authorElizabeth Andrews <elizabeth.andrews@intel.com>
Tue, 30 Nov 2021 21:15:51 +0000 (13:15 -0800)
committerElizabeth Andrews <elizabeth.andrews@intel.com>
Tue, 30 Nov 2021 21:26:10 +0000 (13:26 -0800)
commit3ad0c6b75ea503e0a5bf2faaad9a34da0a020de0
treee8e15d7a18184d32aa13ceaf20ed33ad8d8a3323
parentd1326a3b10054dd89be46f51f857d009cf8ae14f
[clang-repl][NFC] Fix calling convention mismatch in test

Test failed on x86 platforms due to a calling convention mismatch
when member function was called like a free function. In this patch,
member function is marked static to address this.
clang/unittests/Interpreter/InterpreterTest.cpp