Searched +refs:clang +refs:format +refs:style (Results 1 – 25 of 255) sorted by relevance
1234567891011
| /external/clang/docs/ |
| D | ClangFormat.rst | 13 :program:`clang-format` is located in `clang/tools/clang-format` and can be used 14 to format C/C++/Obj-C code. 18 $ clang-format -help 19 OVERVIEW: A tool to format C/C++/Java/JavaScript/Objective-C/Protobuf code. 27 USAGE: clang-format [options] [<file> ...] 31 Clang-format options: 33 -assume-filename=<string> - When reading from stdin, clang-format assumes this 34 filename to look for a style config file (with 35 -style=file) and to determine the language. 37 clang-format from an editor integration [all …]
|
| D | ClangFormatStyleOptions.rst | 5 :doc:`ClangFormatStyleOptions` describes configurable formatting style options 8 When using :program:`clang-format` command line utility or 9 ``clang::format::reformat(...)`` functions from code, one can either use one of 11 custom style by configuring specific style options. 14 Configuring Style with clang-format 17 :program:`clang-format` supports two ways to provide custom style options: 18 directly specify style configuration in the ``-style=`` command line option or 19 use ``-style=file`` and put style configuration in the ``.clang-format`` or 20 ``_clang-format`` file in the project directory. 22 When using ``-style=file``, :program:`clang-format` for each input file will [all …]
|
| D | ClangTools.rst | 21 - ``cd llvm/tools/clang/tools`` 22 - ``svn co http://llvm.org/svn/llvm-project/clang-tools-extra/trunk extra`` 26 - ``cd llvm/tools/clang/tools`` 27 - ``git clone http://llvm.org/git/clang-tools-extra.git extra`` 50 common refactoring and rewriting toolkit-style library is also part of 73 ``clang-check`` 81 fixit-hints offered by clang. See :doc:`HowToSetupToolingForLLVM` for 82 instructions on how to setup and used `clang-check`. 84 ``clang-format`` 87 Clang-format is both a :doc:`library <LibFormat>` and a :doc:`stand-alone tool [all …]
|
| D | LibFormat.rst | 7 as some basic style discussions. 9 If you just want to use `clang-format` as a tool or integrated into an editor, 31 formatting. A list of options can be found under :ref:`style-options`. 39 The style options describe specific formatting options that can be used in 40 order to make `ClangFormat` comply with different style guides. Currently, 41 two style guides are hard-coded: 45 /// \brief Returns a format style complying with the LLVM coding standards: 49 /// \brief Returns a format style complying with Google's C++ style guide: 54 through the `-style` option.
|
| /external/conscrypt/srcgen/ |
| D | generate_android_src.sh | 54 CLANG_STABLE_BIN=${ANDROID_BUILD_TOP}/prebuilts/clang/host/linux-x86/clang-stable/bin 55 ${ANDROID_BUILD_TOP}/tools/repohooks/tools/clang-format.py --fix \ 56 --clang-format ${CLANG_STABLE_BIN}/clang-format \ 57 --git-clang-format ${CLANG_STABLE_BIN}/git-clang-format \ 58 --style file \
|
| /external/swiftshader/src/ |
| D | clang-format-all.sh | 7 CLANG_FORMAT=${CLANG_FORMAT:-clang-format} 14 Usage: ./clang-format-all.sh [-ah] 17 -a, --all Format all files (default is to format only files active in a git CL) 41 …nd ${DIR} -iname "*.hpp" -o -iname "*.cpp" -o -iname "*.inl" | xargs ${CLANG_FORMAT} -i -style=file 42 …nd ${DIR} -iname "*.hpp" -o -iname "*.cpp" -o -iname "*.inl" | xargs ${CLANG_FORMAT} -i -style=file 49 ${CLANG_FORMAT} -i -style=file "$BASEDIR/$FILE"
|
| /external/expat/expat/ |
| D | apply-clang-format.sh | 36 clang-format --version 40 -style=file 45 exec clang-format "${clang_format_args[@]}" "$@" 56 | xargs clang-format "${clang_format_args[@]}"
|
| /external/openthread/script/ |
| D | make-pretty | 159 | xargs -n3 -P"$OT_BUILD_JOBS" script/clang-format -style=file -i -verbose 169 | xargs -n3 -P"$OT_BUILD_JOBS" script/clang-format-check 181 …&& ../../script/clang-tidy -header-filter='.*' -checks="${OT_CLANG_TIDY_CHECKS}" -j"$OT_BUILD_JOBS… 194 …&& ../../script/clang-tidy -header-filter='.*' -checks="${OT_CLANG_TIDY_CHECKS}" -j"$OT_BUILD_JOBS… 232 …| xargs -n10 -P"$OT_BUILD_JOBS" python3 -m yapf --verbose --style '{based_on_style: google, column… 242 …| xargs -n10 -P"$OT_BUILD_JOBS" python3 -m yapf --verbose --style '{based_on_style: google, column…
|
| D | clang-format-check | 49 …"$(dirname "$0")"/clang-format -style=file "${file}" | diff -u "${file}" - || die "${file} is not …
|
| /external/ot-br-posix/script/ |
| D | make-pretty | 77 | xargs -n3 -P"$OT_BUILD_JOBS" script/clang-format -style=file -i -verbose 87 | xargs -n3 -P"$OT_BUILD_JOBS" script/clang-format-check 117 | xargs -n10 -P"$OT_BUILD_JOBS" python3 -m yapf --verbose --style google -ipr 127 | xargs -n10 -P"$OT_BUILD_JOBS" python3 -m yapf --verbose --style google -dpr
|
| /external/flatbuffers/ |
| D | Formatters.md | 8 - DONT format/lint the generated code. 14 …`clang-format` as it's formatter. Run the following script `sh scripts/clang-format-git.sh`, and i…
|
| /external/cronet/base/third_party/cityhash_v103/ |
| D | README.chromium | 16 - 002-fix-include-guards.patch: Fix include guards to follow Chromium style. 20 - 004-google-style.patch: Use nullptr, remove 'using namespace std;'. 21 - 005-bswap-clang.patch: Use the builtins for bswap when compiling with clang. 22 - clang-format
|
| /external/vulkan-validation-layers/ |
| D | CONTRIBUTING.md | 23 or csv format) to identify related checks that may be implemented simultaneously. 49 * Please read and adhere to the style and process [guidelines ](#coding-conventions-and-formatting)… 57 * Use the **[Google style guide](https://google.github.io/styleguide/cppguide.html)** for source co… 58 …* The column limit is 132 (as opposed to the default value 80). The clang-format tool will handle … 59 …* The indent is 4 spaces instead of the default 2 spaces. Again, the clang-format tool will handle… 62 a good reason is "This violates the style guide, but it improves type safety." 64 * Run **clang-format** on your changes to maintain consistent formatting 65 * There are `.clang-format` files present in the repository to define clang-format settings 66 which are found and used automatically by clang-format. 67 …* **clang-format** binaries are available from the LLVM orginization, here: [LLVM](https://clang.l… [all …]
|
| /external/pdfium/ |
| D | .clang-format | 1 # Defines the Chromium style for automatic reformatting. 2 # http://clang.llvm.org/docs/ClangFormatStyleOptions.html 6 # 'vector<vector<int>>'. ('Auto' means that clang-format will only use 11 # the Chromium style (is implied by BasedOnStyle: Chromium).
|
| /external/grpc-grpc/doc/ |
| D | cpp-style-guide.md | 4 The majority of gRPC's C++ requirements are drawn from the [Google C++ style 6 as in C, layout rules are defined by clang-format, and all code 7 should be passed through clang-format. A (docker-based) script to do
|
| /external/libpalmrejection/ |
| D | .clang-format | 1 # Defines the Chromium style for automatic reformatting. 2 # http://clang.llvm.org/docs/ClangFormatStyleOptions.html 6 # 'vector<vector<int>>'. ('Auto' means that clang-format will only use 38 # TODO: Remove this once clang-format r357700 is rolled in.
|
| /external/python/pybind11/.github/ |
| D | CONTRIBUTING.md | 31 project style. (Note that `gawk` is required.) Use `pre-commit run 39 pybind11 is provided under a BSD-style license that can be found in the 181 As of v2.6.2, pybind11 ships with a [`clang-format`][clang-format] 183 `.clang-format`). Currently, formatting is NOT applied automatically, but 184 manually using `clang-format` for newly developed files is highly encouraged. 188 clang-format -style=file --dry-run some.cpp 191 The output will show things to be fixed, if any. To actually format the file: 194 clang-format -style=file -i some.cpp 197 Note that the `-style-file` option searches the parent directories for the 198 `.clang-format` file, i.e. the commands above can be run in any subdirectory [all …]
|
| /external/webrtc/test/ |
| D | mac_capturer.mm | 4 * Use of this source code is governed by a BSD-style license 46 for (AVCaptureDeviceFormat *format in formats) { 47 CMVideoDimensions dimension = CMVideoFormatDescriptionGetDimensions(format.formatDescription); 51 selectedFormat = format; 77 AVCaptureDeviceFormat *format = SelectClosestFormat(device, width, height); 78 [capturer startCaptureWithDevice:device format:format fps:target_fps]; 89 #pragma clang diagnostic push 90 #pragma clang diagnostic ignored "-Wunused-variable" 95 #pragma clang diagnostic pop
|
| /external/drm_hwcomposer/.ci/ |
| D | .gitlab-ci-checkcommit.sh | 41 author=$(git show -s --format='%an <%ae>' "$h") 47 committer=$(git show -s --format='%cn <%ce>' "$h") 53 git show "$h" -- | clang-format-diff-14 -p 1 -style=file > /tmp/format-fixup.patch 54 if [ -s /tmp/format-fixup.patch ]; then 55 cat /tmp/format-fixup.patch >&2
|
| /external/libvpx/third_party/googletest/src/ |
| D | .clang-format | 2 # clang-format -i --style=file <file>
|
| /external/cronet/third_party/googletest/src/ |
| D | .clang-format | 2 # clang-format -i --style=file <file>
|
| /external/tensorflow/tensorflow/ |
| D | .clang-format | 2 # clang-format -i --style=file <file>
|
| /external/googletest/ |
| D | .clang-format | 2 # clang-format -i --style=file <file>
|
| /external/libaom/third_party/googletest/src/ |
| D | .clang-format | 2 # clang-format -i --style=file <file>
|
| /external/tensorflow/ |
| D | .clang-format | 2 # clang-format -i --style=file <file>
|
1234567891011