Searched refs:CompileFlags (Results 1 – 19 of 19) sorted by relevance
| /llvm-project-15.0.7/clang-tools-extra/clangd/unittests/ |
| H A D | ConfigCompileTests.cpp | 55 Frag.CompileFlags.Add.emplace_back("X"); in TEST_F() 58 EXPECT_THAT(Conf.CompileFlags.Edits, SizeIs(1)); in TEST_F() 65 EXPECT_THAT(Conf.CompileFlags.Edits, SizeIs(0)); in TEST_F() 125 Frag.CompileFlags.Compiler.emplace("tpc.exe"); in TEST_F() 126 Frag.CompileFlags.Add.emplace_back("-foo"); in TEST_F() 131 for (auto &Edit : Conf.CompileFlags.Edits) in TEST_F() 139 EXPECT_EQ(Conf.CompileFlags.CDBSearch.Policy, in TEST_F() 144 EXPECT_EQ(Conf.CompileFlags.CDBSearch.Policy, in TEST_F() 150 EXPECT_EQ(Conf.CompileFlags.CDBSearch.Policy, in TEST_F() 161 EXPECT_EQ(Conf.CompileFlags.CDBSearch.Policy, in TEST_F() [all …]
|
| H A D | GlobalCompilationDatabaseTests.cpp | 235 Cfg.CompileFlags.CDBSearch.Policy = Config::CDBSearchSpec::FixedDir; in TEST() 236 Cfg.CompileFlags.CDBSearch.FixedCDBPath = testPath("foo"); in TEST() 239 Cfg.CompileFlags.CDBSearch.Policy = Config::CDBSearchSpec::NoCDBSearch; in TEST() 242 Cfg.CompileFlags.CDBSearch.Policy = Config::CDBSearchSpec::FixedDir; in TEST() 243 Cfg.CompileFlags.CDBSearch.FixedCDBPath = testRoot(); in TEST() 361 C.CompileFlags.CDBSearch = Spec; in TEST()
|
| H A D | ConfigYAMLTests.cpp | 80 EXPECT_THAT(Results[0].CompileFlags.Add, ElementsAre(val("foo"), val("bar"))); in TEST() 82 EXPECT_THAT(Results[1].CompileFlags.Add, ElementsAre(val("b\naz\n"))); in TEST() 135 EXPECT_THAT(Results.front().CompileFlags.Add, ElementsAre(val("first"))); in TEST()
|
| H A D | ConfigProviderTests.cpp | 39 C.CompileFlags.Edits.push_back( in getFragments() 52 for (auto &Edit : C.CompileFlags.Edits) in getAddedArgs()
|
| H A D | CompileCommandsTests.cpp | 179 Cfg.CompileFlags.Edits.push_back([](std::vector<std::string> &Argv) { in TEST() 184 Cfg.CompileFlags.Edits.push_back([](std::vector<std::string> &Argv) { in TEST()
|
| H A D | BackgroundIndexTests.cpp | 136 C.CompileFlags.Edits.push_back([](std::vector<std::string> &Argv) { in TEST_F()
|
| H A D | ClangdTests.cpp | 344 F.CompileFlags.Add.emplace_back("-DFOO=1"); in TEST()
|
| /llvm-project-15.0.7/llvm/examples/BrainF/ |
| H A D | BrainF.h | 31 enum CompileFlags { enum 42 Module *parse(std::istream *in1, int mem, CompileFlags cf, 78 CompileFlags comflag;
|
| H A D | BrainFDriver.cpp | 139 BrainF::CompileFlags cf = BrainF::flag_off; in main() 141 cf = BrainF::CompileFlags(cf | BrainF::flag_arraybounds); in main()
|
| H A D | BrainF.cpp | 52 Module *BrainF::parse(std::istream *in1, int mem, CompileFlags cf, in parse()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | ConfigCompile.cpp | 194 compile(std::move(F.CompileFlags)); in compile() 260 C.CompileFlags.Edits.push_back( in compile() 273 C.CompileFlags.Edits.push_back( in compile() 285 C.CompileFlags.Edits.push_back([Add](std::vector<std::string> &Args) { in compile() 319 C.CompileFlags.CDBSearch = Spec; in compile()
|
| H A D | Config.h | 69 } CompileFlags; member
|
| H A D | ConfigFragment.h | 173 CompileFlagsBlock CompileFlags; member
|
| H A D | GlobalCompilationDatabase.cpp | 413 const auto &Spec = Config::current().CompileFlags.CDBSearch; in lookupCDB() 682 Config::current().CompileFlags.CDBSearch; in filter()
|
| H A D | ConfigYAML.cpp | 64 Dict.handle("CompileFlags", [&](Node &N) { parse(F.CompileFlags, N); }); in parse()
|
| H A D | CompileCommands.cpp | 301 for (auto &Edit : Config::current().CompileFlags.Edits) in adjust()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/test/ |
| H A D | config.test | 10 # RUN: echo 'CompileFlags: {Add: -DFOO=BAR}' >> %t/clangd/config.yaml
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/tool/ |
| H A D | Check.cpp | 100 Config::current().CompileFlags.CDBSearch.FixedCDBPath; in buildCommand()
|
| H A D | ClangdMain.cpp | 699 C.CompileFlags.CDBSearch = *CDBSearch; in FlagsConfigProvider()
|