Home
last modified time | relevance | path

Searched refs:getCompileCommands (Results 1 – 17 of 17) sorted by relevance

/llvm-project-15.0.7/clang/bindings/python/tests/cindex/
H A Dtest_cdb.py48 cmds = cdb.getCompileCommands('/home/john.doe/MyProject/project.cpp')
55 cmds = cdb.getCompileCommands(str_to_path('/home/john.doe/MyProject/project.cpp'))
89 cmds = cdb.getCompileCommands(file)
101 cmds = cdb.getCompileCommands('/home/john.doe/MyProject/project2.cpp')
121 for cmd in cdb.getCompileCommands('/home/john.doe/MyProject/project2.cpp'):
128 cmds = cdb.getCompileCommands('/home/john.doe/MyProject/project.cpp')
136 cmds = cdb.getCompileCommands('/home/john.doe/MyProject/project.cpp')
/llvm-project-15.0.7/clang/unittests/Tooling/
H A DCompilationDatabaseTest.cpp184 std::vector<CompileCommand> Commands = Database->getCompileCommands(FileName); in findCompileArgsInJsonDatabase()
520 Database.getCompileCommands(FileName); in TEST()
558 std::vector<CompileCommand> Result = CDB->getCompileCommands("/foo/bar.cc"); in TEST()
599 Database->getCompileCommands("source"); in TEST()
616 Database->getCompileCommands("source"); in TEST()
633 Database->getCompileCommands("source"); in TEST()
668 Database->getCompileCommands("source"); in TEST()
735 ->getCompileCommands(MakeNative ? path(F) : F); in getCommand()
752 ->getCompileCommands(path(F)); in getProxy()
921 ->getCompileCommands(path(F)); in getCommand()
[all …]
H A DExecutionTest.cpp236 getCompileCommands(StringRef FilePath) const override { in getCompileCommands() function in clang::tooling::FixedCompilationDatabaseWithFiles
237 return FixedCompilations.getCompileCommands(FilePath); in getCompileCommands()
/llvm-project-15.0.7/clang/lib/Tooling/
H A DGuessTargetAndModeCompilationDatabase.cpp33 getCompileCommands(StringRef FilePath) const override { in getCompileCommands() function in clang::tooling::__anon003f0eef0111::TargetAndModeAdderDatabase
34 return addTargetAndMode(Base->getCompileCommands(FilePath)); in getCompileCommands()
H A DExpandResponseFilesCompilationDatabase.cpp41 getCompileCommands(StringRef FilePath) const override { in getCompileCommands() function in clang::tooling::__anone45282ab0111::ExpandResponseFilesDatabase
42 return expand(Base->getCompileCommands(FilePath)); in getCompileCommands()
H A DCommonOptionsParser.cpp60 std::vector<CompileCommand> ArgumentsAdjustingCompilations::getCompileCommands( in getCompileCommands() function in ArgumentsAdjustingCompilations
62 return adjustCommands(Compilations->getCompileCommands(FilePath)); in getCompileCommands()
H A DInterpolatingCompilationDatabase.cpp509 getCompileCommands(StringRef Filename) const override { in getCompileCommands() function in clang::tooling::__anon16cad0690111::InterpolatingCompilationDatabase
510 auto Known = Inner->getCompileCommands(Filename); in getCompileCommands()
518 Inner->getCompileCommands(Index.chooseProxy(Filename, foldType(Lang))); in getCompileCommands()
H A DCompilationDatabase.cpp135 auto C = getCompileCommands(File); in getAllCompileCommands()
382 FixedCompilationDatabase::getCompileCommands(StringRef FilePath) const { in getCompileCommands() function in FixedCompilationDatabase
H A DJSONCompilationDatabase.cpp226 JSONCompilationDatabase::getCompileCommands(StringRef FilePath) const { in getCompileCommands() function in JSONCompilationDatabase
H A DTooling.cpp526 Compilations.getCompileCommands(File); in run()
/llvm-project-15.0.7/clang/include/clang/Tooling/
H A DCompilationDatabase.h129 virtual std::vector<CompileCommand> getCompileCommands(
208 getCompileCommands(StringRef FilePath) const override;
H A DJSONCompilationDatabase.h84 getCompileCommands(StringRef FilePath) const override;
H A DCommonOptionsParser.h127 getCompileCommands(StringRef FilePath) const override;
/llvm-project-15.0.7/clang/tools/libclang/
H A DCXCompilationDatabase.cpp50 std::vector<CompileCommand> CCmd(db->getCompileCommands(CompleteFileName)); in clang_CompilationDatabase_getCompileCommands()
/llvm-project-15.0.7/clang-tools-extra/clangd/unittests/
H A DGlobalCompilationDatabaseTests.cpp449 auto Cmds = arg->getCompileCommands(Path);
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DGlobalCompilationDatabase.cpp372 auto Candidates = Res->CDB->getCompileCommands(File); in getCompileCommand()
/llvm-project-15.0.7/clang/bindings/python/clang/
H A Dcindex.py3257 def getCompileCommands(self, filename): member in CompilationDatabase