Lines Matching refs:getCommand
728 std::string getCommand(llvm::StringRef F) { in getCommand() function in clang::tooling::InterpolateTest
788 EXPECT_EQ(getCommand("foo.h"), in TEST_F()
791 EXPECT_EQ(getCommand("foo"), "clang -D dir/foo.cpp -x c++-header -std=c++17"); in TEST_F()
793 EXPECT_EQ(getCommand("foo.cce"), in TEST_F()
796 EXPECT_EQ(getCommand("foo.hpp"), "clang -D dir/foo.cpp -std=c++17"); in TEST_F()
798 EXPECT_EQ(getCommand("baz.h"), "clang -D dir/baz.cee -x c-header"); in TEST_F()
800 EXPECT_EQ(getCommand("foo.c"), "clang -D dir/bar.c"); in TEST_F()
803 EXPECT_EQ(getCommand("foo.c"), "clang -D dir/foo.cpp"); in TEST_F()
805 EXPECT_EQ(getCommand("aux.h"), in TEST_F()
812 EXPECT_EQ(getCommand("dir/bar.cpp"), "clang -D dir/foo.cpp -Wall"); in TEST_F()
827 EXPECT_EQ(getCommand("foo.hpp"), "clang -D foo.cpp -faligned-new"); in TEST_F()
834 EXPECT_EQ(getCommand("foo.h"), "clang-cl -D foo.cpp /W4 /TP"); in TEST_F()
842 EXPECT_EQ(getCommand("foo.h"), "clang-cl -D foo.cpp --driver-mode=gcc -x c++-header"); in TEST_F()
843 EXPECT_EQ(getCommand("bar.h"), "clang -D bar.cpp --driver-mode=cl /TP"); in TEST_F()
880 std::string getCommand(llvm::StringRef F) { in getCommand() function in clang::tooling::TargetAndModeTest
893 EXPECT_EQ(getCommand("foo.cpp"), in TEST_F()
895 EXPECT_EQ(getCommand("bar.cpp"), in TEST_F()
909 std::string getCommand(llvm::StringRef F) { in getCommand() function in clang::tooling::ExpandResponseFilesTest
925 EXPECT_EQ(getCommand("foo.cpp"), "clang foo.cpp -D foo.cpp -Dflag"); in TEST_F()
926 EXPECT_EQ(getCommand("bar.cpp"), "clang bar.cpp -D bar.cpp -Dflag"); in TEST_F()