Searched refs:CompileCommand (Results 1 - 10 of 10) sorted by relevance

/external/clang/include/clang/Tooling/
H A DCompilationDatabase.h43 struct CompileCommand { struct in namespace:clang::tooling
44 CompileCommand() {} function in struct:clang::tooling::CompileCommand
45 CompileCommand(Twine Directory, std::vector<std::string> CommandLine) function in struct:clang::tooling::CompileCommand
113 virtual std::vector<CompileCommand> getCompileCommands(
125 virtual std::vector<CompileCommand> getAllCompileCommands() const = 0;
161 /// when a CompileCommand is requested. The argv[0] of the returned command
193 std::vector<CompileCommand>
205 std::vector<CompileCommand> getAllCompileCommands() const override;
210 std::vector<CompileCommand> CompileCommands;
H A DJSONCompilationDatabase.h70 std::vector<CompileCommand>
80 std::vector<CompileCommand> getAllCompileCommands() const override;
100 std::vector<CompileCommand> &Commands) const;
H A DTooling.h296 std::vector< std::pair<std::string, CompileCommand> > CompileCommands;
/external/clang/tools/libclang/
H A DCXCompilationDatabase.cpp41 std::vector<CompileCommand> CCmd;
43 AllocatedCXCompileCommands(std::vector<CompileCommand> Cmd)
52 std::vector<CompileCommand> CCmd(db->getCompileCommands(CompleteFileName));
63 std::vector<CompileCommand> CCmd(db->getAllCompileCommands());
110 CompileCommand *cmd = static_cast<CompileCommand *>(CCmd);
120 return static_cast<CompileCommand *>(CCmd)->CommandLine.size();
129 CompileCommand *Cmd = static_cast<CompileCommand *>(CCmd);
143 return static_cast<CompileCommand *>(CCm
[all...]
/external/clang/unittests/Tooling/
H A DCompilationDatabaseTest.cpp54 static std::vector<CompileCommand> getAllCompileCommands(StringRef JSONDatabase,
60 return std::vector<CompileCommand>();
98 std::vector<CompileCommand> Commands = getAllCompileCommands(
115 static CompileCommand findCompileArgsInJsonDatabase(StringRef FileName,
121 return CompileCommand();
122 std::vector<CompileCommand> Commands = Database->getCompileCommands(FileName);
125 return CompileCommand();
207 CompileCommand NotFound = findCompileArgsInJsonDatabase(
218 CompileCommand FoundCommand = findCompileArgsInJsonDatabase(
232 CompileCommand NotFoun
[all...]
/external/clang/lib/Tooling/
H A DJSONCompilationDatabase.cpp172 std::vector<CompileCommand>
181 return std::vector<CompileCommand>();
185 return std::vector<CompileCommand>();
186 std::vector<CompileCommand> Commands;
206 std::vector<CompileCommand>
208 std::vector<CompileCommand> Commands;
219 std::vector<CompileCommand> &Commands) const {
223 Commands.push_back(CompileCommand(
H A DCompilationDatabase.cpp309 CompileCommand(Directory, std::move(ToolCommandLine)));
312 std::vector<CompileCommand>
314 std::vector<CompileCommand> Result(CompileCommands);
324 std::vector<CompileCommand>
326 return std::vector<CompileCommand>();
H A DTooling.cpp280 std::vector<CompileCommand> CompileCommandsForFile =
283 for (CompileCommand &CompileCommand : CompileCommandsForFile) {
285 std::make_pair(File, std::move(CompileCommand)));
/external/clang/bindings/python/tests/cindex/
H A Dtest_cdb.py4 from clang.cindex import CompileCommand namespace
/external/clang/bindings/python/clang/
H A Dcindex.py2593 class CompileCommand(object): class in inherits:object
2603 """Get the working directory for this CompileCommand"""
2620 CompileCommands is an iterable object containing all CompileCommand
2636 return CompileCommand(cc, self)
3484 'CompileCommand',

Completed in 2779 milliseconds