Home
last modified time | relevance | path

Searched refs:ExtraClangFlags (Results 1 – 7 of 7) sorted by relevance

/external/llvm-project/clang-tools-extra/clangd/unittests/
DTestFS.cpp38 : ExtraClangFlags({"-ffreestanding"}), Directory(Directory), in MockCompilationDatabase()
50 if (ExtraClangFlags.empty()) in getCompileCommand()
56 auto CommandLine = ExtraClangFlags; in getCompileCommand()
DClangdTests.cpp394 CDB.ExtraClangFlags.insert(CDB.ExtraClangFlags.end(), in TEST()
458 CDB.ExtraClangFlags = {"-xc"}; in TEST()
465 CDB.ExtraClangFlags = {"-xc++"}; in TEST()
492 CDB.ExtraClangFlags = {"-DWITH_ERROR"}; in TEST()
497 CDB.ExtraClangFlags = {}; in TEST()
541 CDB.ExtraClangFlags = {"-DMACRO=1"}; in TEST()
556 CDB.ExtraClangFlags.clear(); in TEST()
626 CDB.ExtraClangFlags.push_back(FooCpp); in TEST()
969 CDB.ExtraClangFlags.push_back("-xc++"); in TEST()
970 CDB.ExtraClangFlags.push_back("-isystem" + testPath("headers")); in TEST()
[all …]
DHeadersTests.cpp38 CDB.ExtraClangFlags = {SearchDirArg.c_str()}; in HeadersTest()
217 CDB.ExtraClangFlags.push_back("-fno-ms-compatibility"); in TEST_F()
245 CDB.ExtraClangFlags = {SearchDirArg.c_str()}; in TEST_F()
325 CDB.ExtraClangFlags = {"-include", testPath(HeaderFile)}; in TEST_F()
DTestFS.h70 std::vector<std::string> ExtraClangFlags; variable
DTUSchedulerTests.cpp746 CDB.ExtraClangFlags.push_back("-DSOMETHING"); in TEST_F()
757 CDB.ExtraClangFlags.push_back("-I" + testPath("a")); in TEST_F()
758 CDB.ExtraClangFlags.push_back("-I" + testPath("b")); in TEST_F()
970 CDB.ExtraClangFlags = {"-fsome-unknown-flag"}; in TEST_F()
994 CDB.ExtraClangFlags = {"-Wsome-unknown-warning"}; in TEST_F()
DHeaderSourceSwitchTests.cpp254 CDB.ExtraClangFlags = {"-I" + in TEST()
DRenameTests.cpp1308 CDB.ExtraClangFlags = {"-xc++"}; in TEST()