/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 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 [all …]
|
D | ClangFormatStyleOptions.rst | 8 When using :program:`clang-format` command line utility or 9 ``clang::format::reformat(...)`` functions from code, one can either use one of 14 Configuring Style with clang-format 17 :program:`clang-format` supports two ways to provide custom style options: 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 23 try to find the ``.clang-format`` file located in the closest parent directory 27 The ``.clang-format`` file uses YAML format: 44 When :program:`clang-format` formats a file, it auto-detects the language using [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`` 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 89 according to configurable style guides. To do so, clang-format uses Clang's [all …]
|
/external/clang/tools/clang-format/ |
D | CMakeLists.txt | 3 add_clang_executable(clang-format 14 target_link_libraries(clang-format 22 install(TARGETS clang-format RUNTIME DESTINATION bin) 23 install(PROGRAMS clang-format-bbedit.applescript DESTINATION share/clang) 24 install(PROGRAMS clang-format-diff.py DESTINATION share/clang) 25 install(PROGRAMS clang-format-sublime.py DESTINATION share/clang) 26 install(PROGRAMS clang-format.el DESTINATION share/clang) 27 install(PROGRAMS clang-format.py DESTINATION share/clang) 28 install(PROGRAMS git-clang-format DESTINATION bin)
|
D | ClangFormat.cpp | 30 using clang::tooling::Replacements; 65 cl::desc(clang::format::StyleOptionHelpDescription), 110 namespace clang { namespace 111 namespace format { namespace 240 static bool format(StringRef FileName) { in format() function 314 OS << clang::getClangToolFullVersion("clang-format") << '\n'; in PrintVersion() 337 clang::format::configurationAsText(clang::format::getStyle( in main() 347 Error = clang::format::format("-"); in main() 350 Error = clang::format::format(FileNames[0]); in main() 359 Error |= clang::format::format(FileNames[i]); in main()
|
D | clang-format-bbedit.applescript | 1 -- 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 18 set newContents to do shell script "/path/to/clang-format -offset=" & selectionOffset & " -length="…
|
/external/llvm/test/CodeGen/PowerPC/ |
D | BreakableToken-reduced.ll | 31 %"class.clang::format::BreakableStringLiteral" = type { %"class.clang::format::BreakableSingleLineT… 32 %"class.clang::format::BreakableSingleLineToken" = type { %"class.clang::format::BreakableToken", i… 33 %"class.clang::format::BreakableToken" = type { i32 (...)**, %"struct.clang::format::FormatToken"*,… 35 …clang::format::FormatToken" = type <{ %"class.clang::Token", i32, i8, [3 x i8], %"class.clang::Sou… 36 %"class.clang::Token" = type <{ i32, i32, i8*, i16, i16, [4 x i8] }> 37 %"class.clang::SourceRange" = type { %"class.clang::SourceLocation", %"class.clang::SourceLocation"… 38 %"class.clang::SourceLocation" = type { i32 } 42 %"struct.std::_Head_base.2" = type { %"class.clang::format::TokenRole"* } 43 %"class.clang::format::TokenRole" = type { i32 (...)**, %"struct.clang::format::FormatStyle"* } 59 %"struct.clang::format::FormatStyle" = type { i32, i8, i8, i8, i8, i8, i8, i8, i8, i32, i8, i8, i32… [all …]
|
/external/pdfium/ |
D | DEPS | 19 "tools/clang": 20 "https://chromium.googlesource.com/chromium/src/tools/clang", 53 # Pull clang-format binaries using checked-in hashes. 61 '--bucket', 'chromium-clang-format', 62 '-s', 'pdfium/buildtools/win/clang-format.exe.sha1', 72 '--bucket', 'chromium-clang-format', 73 '-s', 'pdfium/buildtools/mac/clang-format.sha1', 83 '--bucket', 'chromium-clang-format', 84 '-s', 'pdfium/buildtools/linux64/clang-format.sha1', 88 # Pull clang if needed or requested via GYP_DEFINES. [all …]
|
/external/v8/ |
D | DEPS | 31 "v8/tools/clang": 32 …Var("git_url") + "/chromium/src/tools/clang.git" + "@" + "24e8c1c92fe54ef8ed7651b5850c056983354a4a… 71 # Pull clang-format binaries using checked-in hashes. 79 "--bucket", "chromium-clang-format", 80 "-s", "v8/buildtools/win/clang-format.exe.sha1", 90 "--bucket", "chromium-clang-format", 91 "-s", "v8/buildtools/mac/clang-format.sha1", 101 "--bucket", "chromium-clang-format", 102 "-s", "v8/buildtools/linux64/clang-format.sha1", 146 # debugging when used with clang on Ubuntu Precise. [all …]
|
/external/clang/tools/clang-format-vs/ |
D | CMakeLists.txt | 1 option(BUILD_CLANG_FORMAT_VS_PLUGIN "Build clang-format VS plugin" OFF) 5 "${LLVM_TOOLS_BINARY_DIR}/clang-format.exe" 6 "${CMAKE_CURRENT_SOURCE_DIR}/ClangFormat/clang-format.exe" 7 DEPENDS clang-format)
|
D | README.txt | 2 for clang-format. 13 The CMake build will copy clang-format.exe and LICENSE.TXT into the ClangFormat/
|
/external/clang/tools/ |
D | CMakeLists.txt | 5 add_clang_subdirectory(clang-format) 6 add_clang_subdirectory(clang-format-vs) 7 add_clang_subdirectory(clang-fuzzer) 20 add_clang_subdirectory(clang-check) 23 # We support checking out the clang-tools-extra repository into the 'extra' 28 add_llvm_external_project(clang-tools-extra extra)
|
D | Makefile | 15 PARALLEL_DIRS := clang-format driver diagtool 18 PARALLEL_DIRS += clang-check scan-build scan-view
|
/external/clang/tools/clang-format/fuzzer/ |
D | ClangFormatFuzzer.cpp | 21 auto Style = getGoogleStyle(clang::format::FormatStyle::LK_Cpp); in LLVMFuzzerTestOneInput() 23 applyAllReplacements(s, clang::format::reformat( in LLVMFuzzerTestOneInput() 24 Style, s, {clang::tooling::Range(0, s.size())})); in LLVMFuzzerTestOneInput()
|
D | CMakeLists.txt | 3 add_clang_executable(clang-format-fuzzer 8 target_link_libraries(clang-format-fuzzer
|
/external/llvm/utils/release/ |
D | build_llvm_package.bat | 13 REM Visual Studio 2013 SDK (for the clang-format plugin). 29 echo Clang format plugin version: %clang_format_vs_version% 39 svn.exe export -r %revision% http://llvm.org/svn/llvm-project/cfe/%branch% llvm/tools/clang || exit… 40 … export -r %revision% http://llvm.org/svn/llvm-project/clang-tools-extra/%branch% llvm/tools/clang… 57 ninja check-clang || exit /b 62 set CC=..\build32_stage0\bin\clang-cl 63 set CXX=..\build32_stage0\bin\clang-cl 67 ninja check-clang || exit /b 68 copy ..\llvm\tools\clang\tools\clang-format-vs\ClangFormat\bin\Release\ClangFormat.vsix ClangFormat… 81 ninja check-clang || exit /b [all …]
|
/external/vulkan-validation-layers/ |
D | CONTRIBUTING.md | 33 * Run clang-format on your changes to maintain formatting. 34 * There are `.clang-format files` throughout the repository to define clang-format settings 35 which are found and used automatically by clang-format. 40 > $ clang-format -style=file -i < list of changed code files > 41 > # Check to see if clang-format made any changes and if they are OK.
|
/external/clang/test/ |
D | CMakeLists.txt | 28 clang clang-headers 29 clang-check clang-format 31 clang-tblgen 43 clang-interpreter 74 add_lit_testsuite(check-clang "Running the Clang regression tests" 81 set_target_properties(check-clang PROPERTIES FOLDER "Clang tests") 83 # Add a legacy target spelling: clang-test 84 add_custom_target(clang-test) 85 add_dependencies(clang-test check-clang) 86 set_target_properties(clang-test PROPERTIES FOLDER "Clang tests")
|
/external/llvm/test/tools/dsymutil/X86/ |
D | mismatch.m | 8 clang -cc1 -emit-obj -fmodules -fmodule-map-file=modules.modulemap \ 9 -fmodule-format=obj -g -dwarf-ext-refs -fmodules-cache-path=. \ 12 clang -cc1 -emit-obj -fmodules -fmodule-map-file=modules.modulemap \ 13 -fmodule-format=obj -g -dwarf-ext-refs -fmodules-cache-path=. \
|
/external/clang/unittests/Format/ |
D | FormatTestSelective.cpp | 17 namespace clang { namespace 18 namespace format { namespace 23 std::string format(llvm::StringRef Code, unsigned Offset, unsigned Length) { in format() function in clang::format::__anonda8d4d5d0111::FormatTestSelective 41 EXPECT_EQ("int a;\nint b;", format("int a; \nint b;", 0, 0)); in TEST_F() 42 EXPECT_EQ("int a;", format("int a; ", 0, 0)); in TEST_F() 43 EXPECT_EQ("int a;\n", format("int a; \n \n \n ", 0, 0)); in TEST_F() 44 EXPECT_EQ("int a;\nint b; ", format("int a; \nint b; ", 0, 0)); in TEST_F() 51 format("{int b;\n int a;}", 8, 0)); in TEST_F() 55 format("{int b;\n int a;}", 7, 0)); in TEST_F() 61 format("#define A \\\n" in TEST_F() [all …]
|
D | FormatTestProto.cpp | 17 namespace clang { namespace 18 namespace format { namespace 22 static std::string format(llvm::StringRef Code, unsigned Offset, in format() function in clang::format::FormatTestProto 34 static std::string format(llvm::StringRef Code) { in format() function in clang::format::FormatTestProto 37 return format(Code, 0, Code.size(), Style); in format() 41 EXPECT_EQ(Code.str(), format(test::messUp(Code))); in verifyFormat() 122 format("option java_package = " in TEST_F()
|
/external/llvm/test/DebugInfo/Sparc/ |
D | gnu-window-save.ll | 7 ; SPARC64: file format ELF64-sparc 23 ; SPARC32: file format ELF32-sparc 58 …inct !DICompileUnit(language: DW_LANG_C99, producer: "clang version 3.5 (http://llvm.org/git/clang… 69 !11 = !{!"clang version 3.5 (http://llvm.org/git/clang.git 6a0714fee07fb7c4e32d3972b4fe2ce2f5678cf4…
|
/external/llvm/test/DebugInfo/AArch64/ |
D | big-endian-dump.ll | 3 ; CHECK: file format ELF64-aarch64-big 11 !0 = !{i32 786449, !1, i32 12, !"clang version 3.6.0 ", i1 false, !"", i32 0, !2, !2, !2, !2, !2, !… 16 !5 = !{!"clang version 3.6.0 "}
|
D | little-endian-dump.ll | 3 ; CHECK: file format ELF64-aarch64-little 11 !0 = !{i32 786449, !1, i32 12, !"clang version 3.6.0 ", i1 false, !"", i32 0, !2, !2, !2, !2, !2, !… 16 !5 = !{!"clang version 3.6.0 "}
|
/external/llvm/test/DebugInfo/ARM/ |
D | little-endian-dump.ll | 3 ; CHECK: file format ELF32-arm-little 11 !0 = !{i32 786449, !1, i32 12, !"clang version 3.6.0 ", i1 false, !"", i32 0, !2, !2, !2, !2, !2, !… 18 !7 = !{!"clang version 3.6.0 "}
|