/external/llvm-project/clang/unittests/Tooling/ |
D | ToolingTest.cpp | 247 ClangTool Tool(Compilations, Sources); in TEST() local 249 Tool.mapVirtualFile("/a.cc", "void a() {}"); in TEST() 250 Tool.mapVirtualFile("/b.cc", "void b() {}"); in TEST() 254 Tool.run(Action.get()); in TEST() 398 ClangTool Tool(Compilations, std::vector<std::string>(1, "/a.cc")); in TEST() local 399 Tool.mapVirtualFile("/a.cc", "void a() {}"); in TEST() 413 Tool.appendArgumentsAdjuster(CheckSyntaxOnlyAdjuster); in TEST() 414 Tool.run(Action.get()); in TEST() 419 Tool.clearArgumentsAdjusters(); in TEST() 420 Tool.appendArgumentsAdjuster(CheckSyntaxOnlyAdjuster); in TEST() [all …]
|
D | DependencyScannerTest.cpp | 98 ClangTool Tool(CDB, {"test.cpp"}, std::make_shared<PCHContainerOperations>(), in TEST() local 100 Tool.clearArgumentsAdjusters(); in TEST() 103 Tool.run(&Action); in TEST() 113 FileManager &Files = Tool.getFiles(); in TEST() 117 Tool.run(&Action); in TEST() 153 ClangTool Tool(CDB, {"test.cpp", "test2.cpp"}, in TEST() local 155 Tool.clearArgumentsAdjusters(); in TEST() 158 Tool.run(&Action); in TEST() 190 ClangTool Tool(CDB, {"test.cpp", "test.cpp"}, in TEST() local 192 Tool.clearArgumentsAdjusters(); in TEST() [all …]
|
/external/llvm-project/clang/lib/Driver/ToolChains/ |
D | Myriad.h | 22 class LLVM_LIBRARY_VISIBILITY Compiler : public Tool { 24 Compiler(const ToolChain &TC) : Tool("moviCompile", "movicompile", TC) {} in Compiler() 34 class LLVM_LIBRARY_VISIBILITY Assembler : public Tool { 36 Assembler(const ToolChain &TC) : Tool("moviAsm", "moviAsm", TC) {} in Assembler() 52 class LLVM_LIBRARY_VISIBILITY Linker : public Tool { 54 Linker(const ToolChain &TC) : Tool("shave::Linker", "ld", TC) {} in Linker() 84 Tool *SelectTool(const JobAction &JA) const override; 89 Tool *buildLinker() const override; 95 mutable std::unique_ptr<Tool> Compiler; 96 mutable std::unique_ptr<Tool> Assembler;
|
D | Minix.h | 21 class LLVM_LIBRARY_VISIBILITY Assembler : public Tool { 23 Assembler(const ToolChain &TC) : Tool("minix::Assembler", "assembler", TC) {} in Assembler() 33 class LLVM_LIBRARY_VISIBILITY Linker : public Tool { 35 Linker(const ToolChain &TC) : Tool("minix::Linker", "linker", TC) {} in Linker() 56 Tool *buildAssembler() const override; 57 Tool *buildLinker() const override;
|
D | DragonFly.h | 21 class LLVM_LIBRARY_VISIBILITY Assembler : public Tool { 24 : Tool("dragonfly::Assembler", "assembler", TC) {} in Assembler() 34 class LLVM_LIBRARY_VISIBILITY Linker : public Tool { 36 Linker(const ToolChain &TC) : Tool("dragonfly::Linker", "linker", TC) {} in Linker() 59 Tool *buildAssembler() const override; 60 Tool *buildLinker() const override;
|
D | Ananas.h | 22 class LLVM_LIBRARY_VISIBILITY Assembler : public Tool { 24 Assembler(const ToolChain &TC) : Tool("ananas::Assembler", "assembler", TC) {} in Assembler() 34 class LLVM_LIBRARY_VISIBILITY Linker : public Tool { 36 Linker(const ToolChain &TC) : Tool("ananas::Linker", "linker", TC) {} in Linker() 57 Tool *buildAssembler() const override; 58 Tool *buildLinker() const override;
|
D | Solaris.h | 22 class LLVM_LIBRARY_VISIBILITY Assembler : public Tool { 25 : Tool("solaris::Assembler", "assembler", TC) {} in Assembler() 35 class LLVM_LIBRARY_VISIBILITY Linker : public Tool { 37 Linker(const ToolChain &TC) : Tool("solaris::Linker", "linker", TC) {} in Linker() 74 Tool *buildAssembler() const override; 75 Tool *buildLinker() const override;
|
D | AIX.h | 22 class LLVM_LIBRARY_VISIBILITY Assembler : public Tool { 24 Assembler(const ToolChain &TC) : Tool("aix::Assembler", "assembler", TC) {} in Assembler() 34 class LLVM_LIBRARY_VISIBILITY Linker : public Tool { 36 Linker(const ToolChain &TC) : Tool("aix::Linker", "linker", TC) {} in Linker() 78 Tool *buildAssembler() const override; 79 Tool *buildLinker() const override;
|
D | XCore.h | 23 class LLVM_LIBRARY_VISIBILITY Assembler : public Tool { 25 Assembler(const ToolChain &TC) : Tool("XCore::Assembler", "XCore-as", TC) {} in Assembler() 34 class LLVM_LIBRARY_VISIBILITY Linker : public Tool { 36 Linker(const ToolChain &TC) : Tool("XCore::Linker", "XCore-ld", TC) {} in Linker() 56 Tool *buildAssembler() const override; 57 Tool *buildLinker() const override;
|
D | CrossWindows.h | 23 class LLVM_LIBRARY_VISIBILITY Assembler : public Tool { 25 Assembler(const ToolChain &TC) : Tool("CrossWindows::Assembler", "as", TC) {} in Assembler() 35 class LLVM_LIBRARY_VISIBILITY Linker : public Tool { 37 Linker(const ToolChain &TC) : Tool("CrossWindows::Linker", "ld", TC) {} in Linker() 80 Tool *buildLinker() const override; 81 Tool *buildAssembler() const override;
|
D | NetBSD.h | 22 class LLVM_LIBRARY_VISIBILITY Assembler : public Tool { 24 Assembler(const ToolChain &TC) : Tool("netbsd::Assembler", "assembler", TC) {} in Assembler() 34 class LLVM_LIBRARY_VISIBILITY Linker : public Tool { 36 Linker(const ToolChain &TC) : Tool("netbsd::Linker", "linker", TC) {} in Linker() 82 Tool *buildAssembler() const override; 83 Tool *buildLinker() const override;
|
D | OpenBSD.h | 23 class LLVM_LIBRARY_VISIBILITY Assembler : public Tool { 26 : Tool("openbsd::Assembler", "assembler", TC) {} in Assembler() 36 class LLVM_LIBRARY_VISIBILITY Linker : public Tool { 38 Linker(const ToolChain &TC) : Tool("openbsd::Linker", "linker", TC) {} in Linker() 92 Tool *buildAssembler() const override; 93 Tool *buildLinker() const override;
|
D | MinGW.h | 25 class LLVM_LIBRARY_VISIBILITY Assembler : public Tool { 27 Assembler(const ToolChain &TC) : Tool("MinGW::Assemble", "assembler", TC) {} in Assembler() 37 class LLVM_LIBRARY_VISIBILITY Linker : public Tool { 39 Linker(const ToolChain &TC) : Tool("MinGW::Linker", "linker", TC) {} in Linker() 91 Tool *getTool(Action::ActionClass AC) const override; 92 Tool *buildLinker() const override; 93 Tool *buildAssembler() const override;
|
D | FreeBSD.h | 22 class LLVM_LIBRARY_VISIBILITY Assembler : public Tool { 25 : Tool("freebsd::Assembler", "assembler", TC) {} in Assembler() 35 class LLVM_LIBRARY_VISIBILITY Linker : public Tool { 37 Linker(const ToolChain &TC) : Tool("freebsd::Linker", "linker", TC) {} in Linker() 89 Tool *buildAssembler() const override; 90 Tool *buildLinker() const override;
|
/external/clang/unittests/Tooling/ |
D | ToolingTest.cpp | 226 ClangTool Tool(Compilations, Sources); in TEST() local 228 Tool.mapVirtualFile("/a.cc", "void a() {}"); in TEST() 229 Tool.mapVirtualFile("/b.cc", "void b() {}"); in TEST() 233 Tool.run(Action.get()); in TEST() 337 ClangTool Tool(Compilations, std::vector<std::string>(1, "/a.cc")); in TEST() local 338 Tool.mapVirtualFile("/a.cc", "void a() {}"); in TEST() 352 Tool.appendArgumentsAdjuster(CheckSyntaxOnlyAdjuster); in TEST() 353 Tool.run(Action.get()); in TEST() 358 Tool.clearArgumentsAdjusters(); in TEST() 359 Tool.appendArgumentsAdjuster(CheckSyntaxOnlyAdjuster); in TEST() [all …]
|
/external/llvm-project/clang/include/clang/Driver/ |
D | ToolChain.h | 58 class Tool; variable 138 mutable std::unique_ptr<Tool> Clang; 139 mutable std::unique_ptr<Tool> Flang; 140 mutable std::unique_ptr<Tool> Assemble; 141 mutable std::unique_ptr<Tool> Link; 142 mutable std::unique_ptr<Tool> StaticLibTool; 143 mutable std::unique_ptr<Tool> IfsMerge; 144 mutable std::unique_ptr<Tool> OffloadBundler; 145 mutable std::unique_ptr<Tool> OffloadWrapper; 147 Tool *getClang() const; [all …]
|
/external/llvm-project/clang/lib/Tooling/ |
D | StandaloneExecution.cpp | 34 : Tool(Compilations, SourcePaths, std::move(PCHContainerOps), in StandaloneToolExecutor() 39 Tool.clearArgumentsAdjusters(); in StandaloneToolExecutor() 46 Tool(OptionsParser->getCompilations(), OptionsParser->getSourcePathList(), in StandaloneToolExecutor() 49 Tool.clearArgumentsAdjusters(); in StandaloneToolExecutor() 64 Tool.appendArgumentsAdjuster(Action.second); in execute() 65 Tool.appendArgumentsAdjuster(ArgsAdjuster); in execute() 66 if (Tool.run(Action.first.get())) in execute()
|
/external/clang/lib/Driver/ |
D | ToolChains.h | 228 Tool *getTool(Action::ActionClass AC) const override; 229 Tool *buildAssembler() const override; 230 Tool *buildLinker() const override; 257 Tool *buildAssembler() const override; 258 Tool *buildLinker() const override; 259 Tool *getTool(Action::ActionClass AC) const override; 643 Tool *buildLinker() const override; 660 Tool *buildAssembler() const override; 661 Tool *buildLinker() const override; 684 Tool *getTool(Action::ActionClass AC) const override; [all …]
|
D | Tools.h | 46 class LLVM_LIBRARY_VISIBILITY Clang : public Tool { 109 Clang(const ToolChain &TC) : Tool("clang", "clang frontend", TC, RF_Full) {} in Clang() 123 class LLVM_LIBRARY_VISIBILITY ClangAs : public Tool { 126 : Tool("clang::as", "clang integrated assembler", TC, RF_Full) {} in ClangAs() 141 class LLVM_LIBRARY_VISIBILITY GnuTool : public Tool { 146 : Tool(Name, ShortName, TC, RF_Full, llvm::sys::WEM_CurrentCodePage) {} in GnuTool() 335 class LLVM_LIBRARY_VISIBILITY MachOTool : public Tool { 352 : Tool(Name, ShortName, TC, ResponseSupport, ResponseEncoding, in Tool() function 629 class LLVM_LIBRARY_VISIBILITY Assembler : public Tool { 632 : Tool("solaris::Assembler", "assembler", TC) {} in Assembler() [all …]
|
D | Tool.cpp | 14 Tool::Tool(const char *_Name, const char *_ShortName, const ToolChain &TC, in Tool() function in Tool 22 Tool::~Tool() { in ~Tool()
|
/external/llvm-project/clang/lib/Driver/ |
D | Tool.cpp | 14 Tool::Tool(const char *_Name, const char *_ShortName, const ToolChain &TC) in Tool() function in Tool 17 Tool::~Tool() { in ~Tool() 20 void Tool::ConstructJobMultipleOutputs(Compilation &C, const JobAction &JA, in ConstructJobMultipleOutputs()
|
/external/antlr/tool/src/test/java/org/antlr/test/ |
D | TestAttributes.java | 30 import org.antlr.Tool; 58 Tool antlr = newTool(); in testEscapedLessThanInAction() 83 Tool antlr = newTool(); in testEscaped$InAction() 105 Tool antlr = newTool(); in testArguments() 130 Tool antlr = newTool(); in testComplicatedArgParsing() 152 Tool antlr = newTool(); in testBracketArgParsing() 183 Tool antlr = newTool(); in testStringArgParsing() 219 Tool antlr = newTool(); in testComplicatedSingleArgParsing() 244 Tool antlr = newTool(); in testArgWithLT() 275 Tool antlr = newTool(); in testGenericsAsArgumentDefinition() [all …]
|
/external/llvm-project/clang-tools-extra/clang-reorder-fields/tool/ |
D | ClangReorderFields.cpp | 57 tooling::RefactoringTool Tool(OP.getCompilations(), Files); in main() local 60 Tool.getReplacements()); in main() 65 return Tool.runAndSave(Factory.get()); in main() 67 int ExitCode = Tool.run(Factory.get()); in main() 75 auto &FileMgr = Tool.getFiles(); in main() 78 Tool.applyAllReplacements(Rewrite); in main()
|
/external/clang/include/clang/Driver/ |
D | ToolChain.h | 45 class Tool; variable 85 mutable std::unique_ptr<Tool> Clang; 86 mutable std::unique_ptr<Tool> Assemble; 87 mutable std::unique_ptr<Tool> Link; 88 Tool *getClang() const; 89 Tool *getAssemble() const; 90 Tool *getLink() const; 91 Tool *getClangAs() const; 102 virtual Tool *buildAssembler() const; 103 virtual Tool *buildLinker() const; [all …]
|
/external/llvm-project/clang/include/clang/Tooling/ |
D | StandaloneExecution.h | 64 Tool.setDiagnosticConsumer(DiagConsumer); in setDiagnosticConsumer() 72 return Tool.getSourcePaths(); in getSourcePaths() 76 Tool.mapVirtualFile(FilePath, Content); in mapVirtualFile() 82 FileManager &getFiles() { return Tool.getFiles(); } in getFiles() 89 ClangTool Tool; variable
|