Home
last modified time | relevance | path

Searched +refs:clang +refs:rename (Results 1 – 25 of 100) sorted by relevance

1234

/external/llvm-project/clang-tools-extra/docs/
Dclang-rename.rst13 :program:`clang-rename` is a C++ refactoring tool. Its purpose is to perform
26 :program:`clang-rename` is a `LibTooling
27 <https://clang.llvm.org/docs/LibTooling.html>`_-based tool, and it's easier to
30 <https://clang.llvm.org/docs/HowToSetupToolingForLLVM.html>`_). You can also
35 $ clang-rename -offset=42 -new-name=foo test.cpp -- -Imy_project/include -DMY_DEFINES ...
49 :program:`clang-rename` also aims to be easily integrated into popular text
60 $ clang-rename -qualified-name=foo -new-name=bar test.cpp
63 :program:`clang-rename` doesn't accept both `-offset` and `-qualified-name` at
69 $ clang-rename -offset=42 -new-name=bar1 -offset=150 -new-name=bar2 test.cpp
75 $ clang-rename -qualified-name=foo1 -new-name=bar1 -qualified-name=foo2 -new-name=bar2 test.cpp
[all …]
Dindex.rst5 Welcome to the clang-tools-extra project which contains extra tools built using
18 clang-tidy/index
19 clang-include-fixer
22 clang-rename
24 clang-doc
30 tools of clang-tools-extra, not the **external** use of these tools. The Doxygen
41 Since the tools of clang-tools-extra are constantly under active
DReleaseNotes.rst27 the latest release, please see the `Clang Web Site <https://clang.llvm.org>`_ or
52 Improvements to clang-doc
57 Improvements to clang-query
62 Improvements to clang-rename
67 Improvements to clang-tidy
73 <clang-tidy/checks/cppcoreguidelines-init-variables>` and
74 :doc:`modernize-make-unique <clang-tidy/checks/modernize-make-unique>`.
94 <clang-tidy/checks/altera-kernel-name-restriction>` check.
100 <clang-tidy/checks/altera-struct-pack-align>` check.
106 <clang-tidy/checks/cppcoreguidelines-prefer-member-initializer>` check.
[all …]
/external/llvm-project/clang/tools/clang-rename/
DCMakeLists.txt6 add_clang_tool(clang-rename
10 clang_target_link_libraries(clang-rename
21 install(PROGRAMS clang-rename.py
22 DESTINATION share/clang
23 COMPONENT clang-rename)
24 install(PROGRAMS clang-rename.el
25 DESTINATION share/clang
26 COMPONENT clang-rename)
/external/llvm-project/clang-tools-extra/test/
DCMakeLists.txt43 # For the clang-apply-replacements test that uses clang-rename.
44 clang-rename
46 # For the clang-doc tests that emit bitcode files.
50 clang-apply-replacements
51 clang-change-namespace
52 clang-doc
53 clang-include-fixer
54 clang-move
55 clang-query
56 clang-reorder-fields
[all …]
/external/llvm-project/llvm/utils/gn/secondary/clang/tools/clang-rename/
DBUILD.gn1 executable("clang-rename") {
4 "//clang/lib/Basic",
5 "//clang/lib/Frontend",
6 "//clang/lib/Rewrite",
7 "//clang/lib/Tooling",
8 "//clang/lib/Tooling/Core",
9 "//clang/lib/Tooling/Refactoring",
/external/llvm-project/clang/tools/
DCMakeLists.txt6 add_clang_subdirectory(clang-diff)
7 add_clang_subdirectory(clang-format)
8 add_clang_subdirectory(clang-format-vs)
9 add_clang_subdirectory(clang-fuzzer)
10 add_clang_subdirectory(clang-import-test)
11 add_clang_subdirectory(clang-offload-bundler)
12 add_clang_subdirectory(clang-offload-wrapper)
13 add_clang_subdirectory(clang-scan-deps)
17 add_clang_subdirectory(clang-rename)
18 add_clang_subdirectory(clang-refactor)
[all …]
/external/llvm-project/clang-tools-extra/
DCODE_OWNERS.TXT13 D: clang-query
17 D: clang-rename, all parts of clang-tools-extra not covered by someone else
21 D: clang-tidy
25 D: clang-doc
/external/llvm-project/clang/tools/clang-format/
Dclang-format-bbedit.applescript1 -- In this file, change "/path/to/" to the path where you installed clang-format
3 -- select the script from the Script menu and clang-format will format the
4 -- selection. Note that you can rename the menu item by renaming the script, and
18 set newContents to do shell script "/path/to/clang-format -offset=" & selectionOffset & " -length="…
/external/clang/tools/clang-format/
Dclang-format-bbedit.applescript1 -- In this file, change "/path/to/" to the path where you installed clang-format
3 -- select the script from the Script menu and clang-format will format the
4 -- selection. Note that you can rename the menu item by renaming the script, and
18 set newContents to do shell script "/path/to/clang-format -offset=" & selectionOffset & " -length="…
/external/llvm-project/llvm/utils/gn/secondary/clang-tools-extra/test/
DBUILD.gn1 import("//clang-tools-extra/clang-tidy/enable.gni")
2 import("//clang/lib/StaticAnalyzer/Frontend/enable.gni")
3 import("//clang/tools/libclang/include_clang_tools_extra.gni")
15 rebase_path(get_label_info("//clang-tools-extra", "target_out_dir")),
16 "CLANG_TOOLS_SOURCE_DIR=" + rebase_path("//clang-tools-extra"),
32 input = "//clang-tools-extra/test/lit.site.cfg.py.in"
57 input = "//clang-tools-extra/test/Unit/lit.site.cfg.py.in"
62 # This target should contain all dependencies of check-clang-tools.
64 # prerequisites for check-clang but doesn't run check-clang itself.
69 "//clang-tools-extra/clang-apply-replacements/tool:clang-apply-replacements",
[all …]
/external/oss-fuzz/infra/base-images/base-clang/
Dcheckout_build_install_llvm.sh67 git clone https://chromium.googlesource.com/chromium/src/tools/clang --depth 1
68 cd clang
98 python3 $SRC/chromium_tools/clang/scripts/update.py --output-dir $WORK/llvm-stage1
117 export CC=$WORK/llvm-stage1/bin/clang
118 export CXX=$WORK/llvm-stage1/bin/clang++
205 /usr/local/bin/clang-check \
206 /usr/local/bin/clang-refactor \
207 /usr/local/bin/clang-offload-wrapper \
208 /usr/local/bin/clang-offload-bundler \
209 /usr/local/bin/clang-check \
[all …]
/external/llvm-project/clang/test/
DCMakeLists.txt63 clang
64 clang-resource-headers
65 clang-format
66 clang-tblgen
67 clang-offload-bundler
68 clang-import-test
69 clang-rename
70 clang-refactor
71 clang-diff
72 clang-scan-deps
[all …]
/external/llvm-project/clang-tools-extra/clangd/refactor/
DRename.h19 namespace clang {
71 llvm::Expected<RenameResult> rename(const RenameInputs &RInputs);
/external/llvm-project/llvm/utils/gn/secondary/clang/test/
DBUILD.gn1 import("//clang/lib/ARCMigrate/enable.gni")
2 import("//clang/lib/StaticAnalyzer/Frontend/enable.gni")
20 rebase_path(get_label_info("//clang", "target_out_dir"), dir),
21 "CLANG_SOURCE_DIR=" + rebase_path("//clang", dir),
42 input = "//clang/test/lit.site.cfg.py.in"
50 "CLANG_VENDOR_UTI=org.llvm.clang",
120 input = "//clang/test/Unit/lit.site.cfg.py.in"
125 # This target should contain all dependencies of check-clang.
127 # prerequisites for check-clang but doesn't run check-clang itself.
132 "//clang/lib/Headers",
[all …]
/external/llvm-project/clang/docs/
DRefactoringEngine.rst27 a number of different source transformations. The ``clang-refactor``
33 ``clang-refactor`` command. In addition to rules, the refactoring action
34 provides the action's command name and description to ``clang-refactor``.
36 outline of a ``local-rename`` action:
42 StringRef getCommand() const override { return "local-rename"; }
70 ``clang-refactor`` subcommand. The first rule will describe a local operation
73 when the user provides the name of the enum to clang-refactor (or the user could
74 select the enum declaration instead). The clang-refactor tool will then analyze
103 #. If you would like to implement a rename-like operation with potential
230 the ``-new-name`` command-line option in clang-refactor:
/external/libcxx/
Dappveyor-reqs-install.cmd18 if DEFINED CLANG_VERSION clang-cl -v
20 if DEFINED MINGW_PATH rename "C:\Program Files\Git\usr\bin\sh.exe" "sh-ignored.exe"
/external/llvm-project/libcxx/
Dappveyor-reqs-install.cmd18 if DEFINED CLANG_VERSION clang-cl -v
20 if DEFINED MINGW_PATH rename "C:\Program Files\Git\usr\bin\sh.exe" "sh-ignored.exe"
/external/llvm-project/clang-tools-extra/clangd/unittests/
DRenameTests.cpp24 namespace clang { namespace
837 rename({RenamePos, NewName, AST, testPath(TU.Filename)}); in TEST()
1044 rename({T.point(), NewName, AST, testPath(TU.Filename), Case.Index}); in TEST()
1085 rename({Code.point(), NewName, AST, testPath(TU.Filename)}); in TEST()
1101 auto Results = rename({Code.point(), "newName", AST, testPath(TU.Filename)}); in TEST()
1185 auto Results = rename({MainCode.point(), in TEST()
1206 Results = rename({MainCode.point(), in TEST()
1242 Results = rename({MainCode.point(), in TEST()
1292 auto Results = rename({MainCode.point(), in TEST()
1516 auto Results = rename({Code.point(), NewName, AST, Path}); in TEST()
/external/libcxx/test/std/input.output/file.streams/c.files/
Dcstdio.pass.cpp84 #pragma clang diagnostic push
85 #pragma clang diagnostic ignored "-Wformat-zero-length"
86 #pragma clang diagnostic ignored "-Wdeprecated-declarations"
138 static_assert((std::is_same<decltype(std::rename("","")), int>::value), ""); in main()
/external/llvm-project/libcxx/test/std/input.output/file.streams/c.files/
Dcstdio.pass.cpp83 #pragma clang diagnostic push
84 #pragma clang diagnostic ignored "-Wformat-zero-length"
85 #pragma clang diagnostic ignored "-Wdeprecated-declarations"
143 static_assert((std::is_same<decltype(std::rename("","")), int>::value), ""); in main()
/external/llvm-project/llvm/test/CodeGen/X86/
DPR37310.mir7 # with "clang -emit-llvm -S" and then "llc -stop-before stack-coloring",
9 # unreachable BB (to wit: rename all bb.3 to bb.4, rename bb.2 to bb.3,
/external/clang/docs/
DClangFormat.rst13 :program:`clang-format` is located in `clang/tools/clang-format` and can be used
18 $ clang-format -help
27 USAGE: clang-format [options] [<file> ...]
33 -assume-filename=<string> - When reading from stdin, clang-format assumes this
37 clang-format from an editor integration
41 fallback in case clang-format is invoked with
42 -style=file, but can not find the .clang-format
50 -length, clang-format will format up to the end
68 .clang-format file located in one of the parent
84 by putting your style configuration in the ``.clang-format`` or ``_clang-format``
[all …]
/external/sfntly/doc/
Dbuild_cpp.md19 The package needs to be extracted to ext and rename/symbolic link to `gtest`.
123 ### Using clang Instead
127 CC=clang CXX=clang++ cmake ..
129 The generated Makefile will use clang.
132 of clang (2.8 and before).
134 sfntly is tested to compile and run correctly on clang 3.0 (trunk 135314).
135 clang 2.9 might work but unfortunately we dont have the resource to test it.
/external/libvpx/libvpx/
DREADME25 PATH for Visual Studio. For VS2017 it is sufficient to rename
152 The coding style used by this project is enforced with clang-format using the
153 configuration contained in the .clang-format file in the root of the
157 # Apply clang-format to modified .c, .h and .cc files
158 $ clang-format -i --style=file \
161 Check the .clang-format file for the version used to generate it if there is
164 See also: http://clang.llvm.org/docs/ClangFormat.html

1234