Home
last modified time | relevance | path

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

/external/clang/include/clang/Tooling/
DCompilationDatabase.h47 struct CompileCommand { struct
48 CompileCommand() {} in CompileCommand() function
49 CompileCommand(Twine Directory, ArrayRef<std::string> CommandLine) in CompileCommand() argument
93 virtual std::vector<CompileCommand> getCompileCommands(
141 virtual std::vector<CompileCommand> getCompileCommands(
147 std::vector<CompileCommand> CompileCommands;
187 virtual std::vector<CompileCommand> getCompileCommands(
/external/clang/unittests/Tooling/
DCompilationDatabaseTest.cpp21 static CompileCommand findCompileArgsInJsonDatabase(StringRef FileName, in findCompileArgsInJsonDatabase()
27 return CompileCommand(); in findCompileArgsInJsonDatabase()
28 std::vector<CompileCommand> Commands = Database->getCompileCommands(FileName); in findCompileArgsInJsonDatabase()
31 return CompileCommand(); in findCompileArgsInJsonDatabase()
37 CompileCommand NotFound = findCompileArgsInJsonDatabase( in TEST()
48 CompileCommand FoundCommand = findCompileArgsInJsonDatabase( in TEST()
61 CompileCommand NotFound = findCompileArgsInJsonDatabase( in TEST()
76 CompileCommand FoundCommand = findCompileArgsInJsonDatabase( in TEST()
92 CompileCommand FoundCommand = findCompileArgsInJsonDatabase( in TEST()
115 CompileCommand FoundCommand = findCompileArgsInJsonDatabase( in TEST()
[all …]
/external/clang/lib/Tooling/
DCompilationDatabase.cpp141 CompileCommands.push_back(CompileCommand(Directory, ToolCommandLine)); in FixedCompilationDatabase()
144 std::vector<CompileCommand>
146 std::vector<CompileCommand> Result(CompileCommands); in getCompileCommands()
180 std::vector<CompileCommand>
185 return std::vector<CompileCommand>(); in getCompileCommands()
187 std::vector<CompileCommand> Commands; in getCompileCommands()
191 Commands.push_back(CompileCommand( in getCompileCommands()
DTooling.cpp248 std::vector<CompileCommand> CompileCommands = in ClangTool()
252 CompileCommand &Command = CompileCommands[I]; in ClangTool()