Home
last modified time | relevance | path

Searched refs:CompileCommand (Results 1 – 12 of 12) sorted by relevance

/external/clang/tools/libclang/
DCXCompilationDatabase.cpp41 std::vector<CompileCommand> CCmd;
43 AllocatedCXCompileCommands(std::vector<CompileCommand> Cmd) in AllocatedCXCompileCommands()
52 std::vector<CompileCommand> CCmd(db->getCompileCommands(CompleteFileName)); in clang_CompilationDatabase_getCompileCommands()
63 std::vector<CompileCommand> CCmd(db->getAllCompileCommands()); in clang_CompilationDatabase_getAllCompileCommands()
110 CompileCommand *cmd = static_cast<CompileCommand *>(CCmd); in clang_CompileCommand_getDirectory()
120 CompileCommand *cmd = static_cast<CompileCommand *>(CCmd); in clang_CompileCommand_getFilename()
130 return static_cast<CompileCommand *>(CCmd)->CommandLine.size(); in clang_CompileCommand_getNumArgs()
139 CompileCommand *Cmd = static_cast<CompileCommand *>(CCmd); in clang_CompileCommand_getArg()
153 return static_cast<CompileCommand *>(CCmd)->MappedSources.size(); in clang_CompileCommand_getNumMappedSources()
162 CompileCommand *Cmd = static_cast<CompileCommand *>(CCmd); in clang_CompileCommand_getMappedSourcePath()
[all …]
/external/clang/include/clang/Tooling/
DCompilationDatabase.h43 struct CompileCommand { struct
44 CompileCommand() {} in CompileCommand() argument
45 CompileCommand(Twine Directory, Twine Filename, in CompileCommand() argument
119 virtual std::vector<CompileCommand> getCompileCommands(
131 virtual std::vector<CompileCommand> getAllCompileCommands() const = 0;
199 std::vector<CompileCommand>
211 std::vector<CompileCommand> getAllCompileCommands() const override;
216 std::vector<CompileCommand> CompileCommands;
DJSONCompilationDatabase.h78 std::vector<CompileCommand>
88 std::vector<CompileCommand> getAllCompileCommands() const override;
114 std::vector<CompileCommand> &Commands) const;
/external/clang/unittests/Tooling/
DCompilationDatabaseTest.cpp60 static std::vector<CompileCommand> getAllCompileCommands(StringRef JSONDatabase, in getAllCompileCommands()
66 return std::vector<CompileCommand>(); in getAllCompileCommands()
104 std::vector<CompileCommand> Commands = getAllCompileCommands( in TEST()
142 static CompileCommand findCompileArgsInJsonDatabase(StringRef FileName, in findCompileArgsInJsonDatabase()
148 return CompileCommand(); in findCompileArgsInJsonDatabase()
149 std::vector<CompileCommand> Commands = Database->getCompileCommands(FileName); in findCompileArgsInJsonDatabase()
152 return CompileCommand(); in findCompileArgsInJsonDatabase()
163 CompileCommand FoundCommand = findCompileArgsInJsonDatabase( in TEST()
253 CompileCommand NotFound = findCompileArgsInJsonDatabase( in TEST()
264 CompileCommand FoundCommand = findCompileArgsInJsonDatabase( in TEST()
[all …]
/external/clang/lib/Tooling/
DCommonOptionsParser.cpp68 std::vector<CompileCommand>
77 std::vector<CompileCommand> getAllCompileCommands() const override { in getAllCompileCommands()
85 std::vector<CompileCommand>
86 adjustCommands(std::vector<CompileCommand> Commands) const { in adjustCommands()
87 for (CompileCommand &Command : Commands) in adjustCommands()
DJSONCompilationDatabase.cpp172 std::vector<CompileCommand>
181 return std::vector<CompileCommand>(); in getCompileCommands()
185 return std::vector<CompileCommand>(); in getCompileCommands()
186 std::vector<CompileCommand> Commands; in getCompileCommands()
206 std::vector<CompileCommand>
208 std::vector<CompileCommand> Commands; in getAllCompileCommands()
228 std::vector<CompileCommand> &Commands) const { in getCommands()
DTooling.cpp390 std::vector<CompileCommand> CompileCommandsForFile = in run()
401 for (CompileCommand &CompileCommand : CompileCommandsForFile) { in run()
410 CompileCommand.Directory)) in run()
412 Twine(CompileCommand.Directory) + "\n!"); in run()
417 if (SeenWorkingDirectories.insert(CompileCommand.Directory).second) in run()
424 std::vector<std::string> CommandLine = CompileCommand.CommandLine; in run()
426 CommandLine = ArgsAdjuster(CommandLine, CompileCommand.Filename); in run()
DCompilationDatabase.cpp305 std::vector<CompileCommand>
307 std::vector<CompileCommand> Result(CompileCommands); in getCompileCommands()
318 std::vector<CompileCommand>
320 return std::vector<CompileCommand>(); in getAllCompileCommands()
/external/clang/bindings/python/tests/cindex/
Dtest_cdb.py4 from clang.cindex import CompileCommand
/external/clang/bindings/python/clang/
Dcindex.py2746 class CompileCommand(object): class
2794 return CompileCommand(cc, self)
/external/caliper/caliper/src/test/resources/com/google/caliper/bridge/
Djdk7-flags.txt182 ccstrlist CompileCommand = {product}
Djdk6-flags.txt167 ccstrlist CompileCommand = {product}