Home
last modified time | relevance | path

Searched refs:Commands (Results 1 – 25 of 52) sorted by relevance

123

/llvm-project/clang/unittests/Tooling/
H A DCompilationDatabaseTest.cpp143 std::vector<CompileCommand> Commands = getAllCompileCommands( local
156 EXPECT_EQ(2U, Commands.size()) << ErrorMessage;
157 EXPECT_EQ(Directory1, Commands[0].Directory) << ErrorMessage;
158 EXPECT_EQ(FileName1, Commands[0].Filename) << ErrorMessage;
159 EXPECT_EQ(Output1, Commands[0].Output) << ErrorMessage;
160 ASSERT_EQ(1u, Commands[0].CommandLine.size());
161 EXPECT_EQ(Command1, Commands[0].CommandLine[0]) << ErrorMessage;
162 EXPECT_EQ(Directory2, Commands[1].Directory) << ErrorMessage;
163 EXPECT_EQ(FileName2, Commands[1].Filename) << ErrorMessage;
164 EXPECT_EQ(Output2, Commands[1].Output) << ErrorMessage;
[all …]
/llvm-project/clang/lib/AST/
H A DCommentCommandTraits.cpp19 : NextID(std::size(Commands)), Allocator(Allocator) { in CommandTraits()
73 for (const auto &Command : Commands) in getTypoCorrectCommandInfo()
117 if (CommandID < std::size(Commands)) in getBuiltinCommandInfo()
118 return &Commands[CommandID]; in getBuiltinCommandInfo()
133 return RegisteredCommands[CommandID - std::size(Commands)]; in getRegisteredCommandInfo()
/llvm-project/clang-tools-extra/clang-query/tool/
H A DClangQuery.cpp61 static cl::list<std::string> Commands("c", cl::desc("Specify command to run"), variable
93 if (!Commands.empty() && !CommandFiles.empty()) { in main()
98 if ((!Commands.empty() || !CommandFiles.empty()) && !PreloadFile.empty()) { in main()
138 if (!Commands.empty()) { in main()
139 for (auto &Command : Commands) { in main()
/llvm-project/clang/lib/Tooling/
H A DJSONCompilationDatabase.cpp238 std::vector<CompileCommand> Commands; in getCompileCommands() local
239 getCommands(CommandsRefI->getValue(), Commands); in getCompileCommands()
240 return Commands; in getCompileCommands()
253 std::vector<CompileCommand> Commands; in getAllCompileCommands() local
254 getCommands(AllCommands, Commands); in getAllCompileCommands()
255 return Commands; in getAllCompileCommands()
314 std::vector<CompileCommand> &Commands) const { in getCommands()
320 Commands.emplace_back( in getCommands()
H A DCommonOptionsParser.cpp76 std::vector<CompileCommand> Commands) const { in adjustCommands()
77 for (CompileCommand &Command : Commands) in adjustCommands()
80 return Commands; in adjustCommands()
/llvm-project/cross-project-tests/debuginfo-tests/dexter/
H A DCommands.md3 * [DexExpectProgramState](Commands.md#DexExpectProgramState)
4 * [DexExpectStepKind](Commands.md#DexExpectStepKind)
5 * [DexExpectStepOrder](Commands.md#DexExpectStepOrder)
6 * [DexExpectWatchType](Commands.md#DexExpectWatchType)
7 * [DexExpectWatchValue](Commands.md#DexExpectWatchValue)
8 * [DexUnreachable](Commands.md#DexUnreachable)
9 * [DexLimitSteps](Commands.md#DexLimitSteps)
10 * [DexLabel](Commands.md#DexLabel)
11 * [DexWatch](Commands.md#DexWatch)
12 * [DexDeclareAddress](Commands.md#DexDeclareAddress)
[all …]
/llvm-project/lldb/tools/lldb-dap/
H A DREADME.md204 Commands can be prefixed with `?` or `!` to modify their behavior:
205 * Commands prefixed with `?` are quiet on success, i.e. nothing is written to stdout if the command succeeds.
/llvm-project/llvm/tools/llvm-remarkutil/
H A DRemarkUtilRegistry.cpp21 static std::unordered_map<cl::SubCommand *, HandlerType> Commands; in getCommands() local
22 return Commands; in getCommands()
/llvm-project/llvm/tools/llvm-xray/
H A Dxray-registry.cpp22 static std::unordered_map<cl::SubCommand *, HandlerType> Commands; in getCommands() local
23 return Commands; in getCommands()
/llvm-project/clang/unittests/Driver/
H A DSanitizerArgsTest.cpp74 const auto &Commands = CompilationJob->getJobs().getJobs(); in emulateSingleCompilation() local
75 assert(Commands.size() == 1); in emulateSingleCompilation()
76 return *Commands.front(); in emulateSingleCompilation()
/llvm-project/clang/include/clang/Tooling/DependencyScanning/
H A DDependencyScanningTool.h59 /// The sequence of commands required to build the translation unit. Commands
65 std::vector<Command> Commands;
160 Commands.push_back(std::move(Cmd)); in handleDependencyOutputOpts()
193 std::vector<Command> Commands;
64 std::vector<Command> Commands; global() member
190 std::vector<Command> Commands; global() variable
/llvm-project/lldb/source/Utility/
H A DLLDBLog.cpp20 {{"commands"}, {"log command argument parsing"}, LLDBLog::Commands},
75 LLDBLog::Target | LLDBLog::Commands);
/llvm-project/lldb/test/Shell/ExecControl/StopHook/
H A Dstop-hook.test23 # CHECK-NEXT: Commands:
33 # CHECK-NEXT: Commands:
43 # CHECK-NEXT: Commands:
H A Dstop-hook-threads.test21 # CHECK-NEXT: Commands:
28 # CHECK-FILTER-NEXT: Commands:
/llvm-project/llvm/utils/gn/secondary/lldb/source/Interpreter/
H A DBUILD.gn19 "//lldb/source/Commands",
29 # Reaches into source/Commands implementation details.
/llvm-project/llvm/utils/TableGen/
H A DAsmWriterEmitter.cpp522 std::vector<std::string> &Commands = TableDrivenOperandPrinters[i]; in EmitPrintInstruction()
526 unsigned NumBits = Log2_32_Ceil(Commands.size()); in EmitPrintInstruction()
531 << Commands.size() << " unique commands.\n"; in EmitPrintInstruction()
533 if (Commands.size() == 2) { in EmitPrintInstruction()
537 << Commands[1] << " } else {\n" in EmitPrintInstruction()
538 << Commands[0] << " }\n\n"; in EmitPrintInstruction()
539 } else if (Commands.size() == 1) { in EmitPrintInstruction()
541 O << Commands[0] << "\n\n"; in EmitPrintInstruction()
548 for (unsigned j = 0, e = Commands.size(); j != e; ++j) { in EmitPrintInstruction()
550 O << Commands[ in EmitPrintInstruction()
521 std::vector<std::string> &Commands = TableDrivenOperandPrinters[i]; EmitPrintInstruction() local
[all...]
/llvm-project/utils/bazel/llvm-project-overlay/lldb/
H A DBUILD.bazel214 ":Commands",
386 ":Commands",
402 srcs = glob(["source/Commands/**/*.td"]),
407 strip_include_prefix = "source/Commands",
411 "source/Commands/CommandOptions.inc",
415 td_file = "source/Commands/Options.td",
420 name = "Commands",
421 srcs = glob(["source/Commands/**/*.cpp"]),
422 hdrs = glob(["source/Commands/**/*.h"]),
/llvm-project/clang/tools/clang-scan-deps/
H A DClangScanDeps.cpp386 ID.Commands = std::move(TUDeps.Commands);
439 for (const auto &Cmd : I.Commands) in printFullOutput()
487 for (const auto &Cmd : I.Commands) { in printFullOutput()
562 std::vector<Command> Commands; in handleTranslationUnitResult()
468 Array Commands; printFullOutput() local
546 std::vector<Command> Commands; global() member
/llvm-project/llvm/utils/gn/secondary/lldb/source/API/
H A DBUILD.gn40 # SBTarget.cpp includes Commands-internal header Commands/CommandObjectBreakpoint.h
/llvm-project/clang/lib/Tooling/DependencyScanning/
H A DDependencyScanningTool.cpp174 TU.Commands = std::move(Commands); in takeTranslationUnitDeps()
/llvm-project/lldb/source/
H A DCMakeLists.txt5 add_subdirectory(Commands)
/llvm-project/lldb/source/Plugins/TraceExporter/ctf/
H A DTraceExporterCTFOptions.td1 include "../../../../source/Commands/OptionsBase.td"
/llvm-project/clang/docs/CommandGuide/
H A Dindex.rst11 Basic Commands
/llvm-project/clang-tools-extra/clangd/unittests/
H A DGlobalCompilationDatabaseTests.cpp348 auto Commands = CDB.getCompileCommand(testPath("x/y.cpp")); in TEST()
349 ASSERT_TRUE(Commands.has_value()); in TEST()
350 EXPECT_THAT(Commands->CommandLine, Contains("-DFOO")); in TEST()
352 EXPECT_EQ(testPath("x"), Commands->Directory);
346 auto Commands = CDB.getCompileCommand(testPath("x/y.cpp")); TEST() local
/llvm-project/lldb/include/lldb/Utility/
H A DLLDBLog.h22 Commands = Log::ChannelFlag<3>, enumerator

123