Home
last modified time | relevance | path

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

12

/llvm-project-15.0.7/clang/unittests/Tooling/
H A DCompilationDatabaseTest.cpp138 EXPECT_EQ(2U, Commands.size()) << ErrorMessage; in TEST()
141 EXPECT_EQ(Output1, Commands[0].Output) << ErrorMessage; in TEST()
142 ASSERT_EQ(1u, Commands[0].CommandLine.size()); in TEST()
147 ASSERT_EQ(1u, Commands[1].CommandLine.size()); in TEST()
151 Commands = getAllCompileCommands( in TEST()
163 EXPECT_EQ(2U, Commands.size()) << ErrorMessage; in TEST()
166 ASSERT_EQ(1u, Commands[0].CommandLine.size()); in TEST()
170 ASSERT_EQ(1u, Commands[1].CommandLine.size()); in TEST()
185 EXPECT_LE(Commands.size(), 1u); in findCompileArgsInJsonDatabase()
186 if (Commands.empty()) in findCompileArgsInJsonDatabase()
[all …]
/llvm-project-15.0.7/clang/lib/AST/
H A DCommentCommandTraits.cpp20 NextID(llvm::array_lengthof(Commands)), Allocator(Allocator) { in CommandTraits()
74 for (const auto &Command : Commands) in getTypoCorrectCommandInfo()
118 if (CommandID < llvm::array_lengthof(Commands)) in getBuiltinCommandInfo()
119 return &Commands[CommandID]; in getBuiltinCommandInfo()
134 return RegisteredCommands[CommandID - llvm::array_lengthof(Commands)]; in getRegisteredCommandInfo()
/llvm-project-15.0.7/clang-tools-extra/clang-query/tool/
H A DClangQuery.cpp60 static cl::list<std::string> Commands("c", cl::desc("Specify command to run"), variable
106 if (!Commands.empty() && !CommandFiles.empty()) { in main()
111 if ((!Commands.empty() || !CommandFiles.empty()) && !PreloadFile.empty()) { in main()
151 if (!Commands.empty()) { in main()
152 for (auto &Command : Commands) { in main()
/llvm-project-15.0.7/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()
315 std::vector<CompileCommand> &Commands) const { in getCommands()
321 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-15.0.7/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-15.0.7/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)
8 * [DexUnreachable](Commands.md#DexUnreachable)
9 * [DexLimitSteps](Commands.md#DexLimitSteps)
10 * [DexLabel](Commands.md#DexLabel)
11 * [DexWatch](Commands.md#DexWatch)
13 * [DexDeclareFile](Commands.md#DexDeclareFile)
14 * [DexFinishTest](Commands.md#DexFinishTest)
[all …]
/llvm-project-15.0.7/lldb/tools/lldb-vscode/
H A DREADME.md85 …mands executed upon debugger startup prior to creating the LLDB target. Commands and command outpu…
86 … executed just before launching after the LLDB target has been created. Commands and command outpu…
87 |**stopCommands** |[string]| | LLDB commands executed just after each stop. Commands and command …
88 |**exitCommands** |[string]| | LLDB commands executed when the program exits. Commands and comman…
89 …** |[string]| | LLDB commands executed when the debugging session ends. Commands and command outpu…
112 …mands executed upon debugger startup prior to creating the LLDB target. Commands and command outpu…
113 … executed just before launching after the LLDB target has been created. Commands and command outpu…
114 |**stopCommands** |[string]| | LLDB commands executed just after each stop. Commands and command …
115 |**exitCommands** |[string]| | LLDB commands executed when the program exits. Commands and comman…
116 …** |[string]| | LLDB commands executed when the debugging session ends. Commands and command outpu…
/llvm-project-15.0.7/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-15.0.7/lldb/source/Utility/
H A DLLDBLog.cpp20 {{"commands"}, {"log command argument parsing"}, LLDBLog::Commands},
74 LLDBLog::Target | LLDBLog::Commands);
/llvm-project-15.0.7/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-15.0.7/llvm/utils/gn/secondary/lldb/source/Interpreter/
H A DBUILD.gn18 "//lldb/source/Commands",
28 # Reaches into source/Commands implementation details.
/llvm-project-15.0.7/llvm/utils/TableGen/
H A DAsmWriterEmitter.cpp487 std::vector<std::string> &Commands = TableDrivenOperandPrinters[i]; in EmitPrintInstruction() local
491 unsigned NumBits = Log2_32_Ceil(Commands.size()); in EmitPrintInstruction()
496 << " bits for " << Commands.size() << " unique commands.\n"; in EmitPrintInstruction()
498 if (Commands.size() == 2) { in EmitPrintInstruction()
503 << Commands[1] in EmitPrintInstruction()
505 << Commands[0] in EmitPrintInstruction()
507 } else if (Commands.size() == 1) { in EmitPrintInstruction()
509 O << Commands[0] << "\n\n"; in EmitPrintInstruction()
517 for (unsigned j = 0, e = Commands.size(); j != e; ++j) { in EmitPrintInstruction()
519 O << Commands[j]; in EmitPrintInstruction()
/llvm-project-15.0.7/llvm/utils/gn/secondary/lldb/source/API/
H A DBUILD.gn38 # SBTarget.cpp includes Commands-internal header Commands/CommandObjectBreakpoint.h
/llvm-project-15.0.7/lldb/source/
H A DCMakeLists.txt5 add_subdirectory(Commands)
/llvm-project-15.0.7/lldb/source/Plugins/TraceExporter/ctf/
H A DTraceExporterCTFOptions.td1 include "../../../../source/Commands/OptionsBase.td"
/llvm-project-15.0.7/clang/docs/CommandGuide/
H A Dindex.rst11 Basic Commands
/llvm-project-15.0.7/clang-tools-extra/clangd/unittests/
H A DGlobalCompilationDatabaseTests.cpp333 auto Commands = CDB.getCompileCommand(testPath("x/y.cpp")); in TEST() local
334 ASSERT_TRUE(Commands.has_value()); in TEST()
335 EXPECT_THAT(Commands.value().CommandLine, Contains("-DFOO")); in TEST()
337 EXPECT_EQ(testPath("x"), Commands.value().Directory); in TEST()
/llvm-project-15.0.7/lldb/include/lldb/Utility/
H A DLLDBLog.h22 Commands = Log::ChannelFlag<3>, enumerator
/llvm-project-15.0.7/clang/include/clang/Tooling/
H A DJSONCompilationDatabase.h122 std::vector<CompileCommand> &Commands) const;
H A DCommonOptionsParser.h138 adjustCommands(std::vector<CompileCommand> Commands) const;
/llvm-project-15.0.7/lldb/test/Shell/Watchpoint/
H A DSetErrorCases.test13 # CHECK: Commands for setting a watchpoint.
/llvm-project-15.0.7/llvm/utils/gn/secondary/lldb/source/Commands/
H A DBUILD.gn8 static_library("Commands") {
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DGlobalCompilationDatabase.cpp752 auto It = Commands.find(removeDots(File)); in getCompileCommand()
753 if (It != Commands.end()) in getCompileCommand()
784 Commands[CanonPath] = std::move(*Cmd); in setCompileCommand()
786 Commands.erase(CanonPath); in setCompileCommand()

12