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

/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 CompileCommand *cmd = static_cast<CompileCommand *>(CCmd);
130 return static_cast<CompileCommand *>(CCmd)->CommandLine.size();
139 CompileCommand *Cm
[all...]
/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, Twine Filename, function in struct:clang::tooling::CompileCommand
119 virtual std::vector<CompileCommand> getCompileCommands(
131 virtual std::vector<CompileCommand> getAllCompileCommands() const = 0;
167 /// when a CompileCommand is requested. The argv[0] of the returned command
199 std::vector<CompileCommand>
211 std::vector<CompileCommand> getAllCompileCommands() const override;
216 std::vector<CompileCommand> CompileCommands;
H A DJSONCompilationDatabase.h78 std::vector<CompileCommand>
88 std::vector<CompileCommand> getAllCompileCommands() const override;
114 std::vector<CompileCommand> &Commands) const;
/external/clang/lib/Tooling/
H A DCommonOptionsParser.cpp68 std::vector<CompileCommand>
77 std::vector<CompileCommand> getAllCompileCommands() const override {
85 std::vector<CompileCommand>
86 adjustCommands(std::vector<CompileCommand> Commands) const {
87 for (CompileCommand &Command : Commands)
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;
228 std::vector<CompileCommand> &Commands) const {
H A DCompilationDatabase.cpp305 std::vector<CompileCommand>
307 std::vector<CompileCommand> Result(CompileCommands);
318 std::vector<CompileCommand>
320 return std::vector<CompileCommand>();
H A DTooling.cpp390 std::vector<CompileCommand> CompileCommandsForFile =
401 for (CompileCommand &CompileCommand : CompileCommandsForFile) {
410 CompileCommand.Directory))
412 Twine(CompileCommand.Directory) + "\n!");
417 if (SeenWorkingDirectories.insert(CompileCommand.Directory).second)
424 std::vector<std::string> CommandLine = CompileCommand.CommandLine;
426 CommandLine = ArgsAdjuster(CommandLine, CompileCommand.Filename);
/external/clang/unittests/Tooling/
H A DCompilationDatabaseTest.cpp60 static std::vector<CompileCommand> getAllCompileCommands(StringRef JSONDatabase,
66 return std::vector<CompileCommand>();
104 std::vector<CompileCommand> Commands = getAllCompileCommands(
142 static CompileCommand findCompileArgsInJsonDatabase(StringRef FileName,
148 return CompileCommand();
149 std::vector<CompileCommand> Commands = Database->getCompileCommands(FileName);
152 return CompileCommand();
163 CompileCommand FoundCommand = findCompileArgsInJsonDatabase(
253 CompileCommand NotFound = findCompileArgsInJsonDatabase(
264 CompileCommand FoundComman
[all...]
/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.py2746 class CompileCommand(object): class in inherits:object
2756 """Get the working directory for this CompileCommand"""
2761 """Get the working filename for this CompileCommand"""
2778 CompileCommands is an iterable object containing all CompileCommand
2794 return CompileCommand(cc, self)
3731 'CompileCommand',

Completed in 149 milliseconds