| /external/sandboxed-api/sandboxed_api/bazel/ |
| D | llvm_config.bzl | 26 "llvm-project-include/clang-c/**/*.h", 27 "llvm-project-include/clang/**/*.def", 28 "llvm-project-include/clang/**/*.h", 29 "llvm-project-include/clang/**/*.inc", 44 visibility = ["@llvm-project//clang:__pkg__"], 56 cc_library(name = "format", deps = ["@llvm-project//llvm:llvm"]) 68 ["llvm-config-{}".format(ver) for ver in range(20, 10, -1)] + 88 for suffix in ["llvm", "llvm-c", "clang", "clang-c"]: 103 lib_strs = sorted(["\"-l{}\",".format(a[5:-2]) for a in archives]) 107 SYSTEM_LLVM_BAZEL_TEMPLATE.replace( [all …]
|
| /external/angle/src/libANGLE/renderer/metal/shaders/ |
| D | gen_mtl_internal_shaders.py | 64 clang = os.path.join('..', '..', '..', '..', '..', 'third_party', 'llvm-build', 67 if not os.path.isfile(clang): 70 clang = xcrun_clang.stdout.strip() 71 if (not os.path.isfile(clang)): 74 return clang 90 clang = find_clang() 100 args = [clang] 116 final_combined_src_string = combined_source.replace('@@'.encode('utf-8'), ''.encode('utf-8')) 122 boilerplate_code = template_header_boilerplate.format( 137 boilerplate_code = template_header_boilerplate.format(
|
| /external/mesa3d/docs/ |
| D | codingstyle.rst | 9 try following the format of existing, neighboring code. 11 ``clang-format`` 14 A growing number of drivers and components are adopting ``clang-format`` 17 You can re-format the code for the components that have opted-in to the 18 formatting enforcement (listed in ``.clang-format-include``) by simply 19 running ``ninja -C build/ clang-format``. 33 Add this to your ``.vimrc`` to automatically format any C & C++ file 34 (that has a .clang-format config) when you save it: 42 " Only format files that have a .clang-format in a parent folder 43 if !empty(findfile('.clang-format', '.;')) [all …]
|
| /external/cronet/stable/third_party/protobuf/objectivec/Tests/ |
| D | GPBMessageTests+Merge.m | 1 // Protocol Buffers - Google's data interchange format 113 // Half the values that will replace. 151 // Other half the values that will replace. 270 // clang-format off 278 // clang-format on 281 // clang-format off 289 // clang-format on 292 // clang-format off 300 // clang-format on 303 // clang-format off [all …]
|
| /external/cronet/tot/third_party/protobuf/objectivec/Tests/ |
| D | GPBMessageTests+Merge.m | 1 // Protocol Buffers - Google's data interchange format 113 // Half the values that will replace. 151 // Other half the values that will replace. 270 // clang-format off 278 // clang-format on 281 // clang-format off 289 // clang-format on 292 // clang-format off 300 // clang-format on 303 // clang-format off [all …]
|
| /external/protobuf/objectivec/Tests/ |
| D | GPBMessageTests+Merge.m | 1 // Protocol Buffers - Google's data interchange format 113 // Half the values that will replace. 151 // Other half the values that will replace. 270 // clang-format off 278 // clang-format on 281 // clang-format off 289 // clang-format on 292 // clang-format off 300 // clang-format on 303 // clang-format off [all …]
|
| /external/webrtc/third_party/crc32c/src/ |
| D | README.md | 6 New file format authors should consider 62 apm install autocomplete-clang build build-cmake clang-format language-cmake \ 63 linter linter-clang 66 If you don't mind more setup in return for more speed, replace 67 `autocomplete-clang` and `linter-clang` with `you-complete-me`. This requires 71 apm install autocomplete-plus build build-cmake clang-format language-cmake \ 104 -DCMAKE_ANDROID_NDK_TOOLCHAIN_VERSION=clang \
|
| /external/cronet/tot/build/toolchain/win/rc/ |
| D | rc.py | 126 clang = os.path.join(SRC_DIR, 'third_party', 'llvm-build', 131 clang += '.exe' 136 clang_cmd = [clang, '/P', '/DRC_INVOKED', '/TC', '-', '/Fi' + temp_file] 193 TOOL_DIR = os.path.dirname(os.path.relpath(THIS_DIR)).replace("\\", "/") 196 print('Note: including file: {}/tool_wrapper.py'.format(TOOL_DIR)) 197 print('Note: including file: {}/rc/rc.py'.format(TOOL_DIR)) 199 'Note: including file: {}/rc/linux64/rc.sha1'.format(TOOL_DIR)) 200 print('Note: including file: {}/rc/mac/rc.sha1'.format(TOOL_DIR)) 202 'Note: including file: {}/rc/win/rc.exe.sha1'.format(TOOL_DIR))
|
| /external/cronet/stable/build/toolchain/win/rc/ |
| D | rc.py | 126 clang = os.path.join(SRC_DIR, 'third_party', 'llvm-build', 131 clang += '.exe' 136 clang_cmd = [clang, '/P', '/DRC_INVOKED', '/TC', '-', '/Fi' + temp_file] 193 TOOL_DIR = os.path.dirname(os.path.relpath(THIS_DIR)).replace("\\", "/") 196 print('Note: including file: {}/tool_wrapper.py'.format(TOOL_DIR)) 197 print('Note: including file: {}/rc/rc.py'.format(TOOL_DIR)) 199 'Note: including file: {}/rc/linux64/rc.sha1'.format(TOOL_DIR)) 200 print('Note: including file: {}/rc/mac/rc.sha1'.format(TOOL_DIR)) 202 'Note: including file: {}/rc/win/rc.exe.sha1'.format(TOOL_DIR))
|
| /external/angle/build/toolchain/win/rc/ |
| D | rc.py | 131 clang = os.path.join(SRC_DIR, 'third_party', 'llvm-build', 136 clang += '.exe' 141 clang_cmd = [clang, '/P', '/DRC_INVOKED', '/TC', '-', '/Fi' + temp_file] 200 TOOL_DIR = os.path.dirname(os.path.relpath(THIS_DIR)).replace("\\", "/") 203 print('Note: including file: {}/tool_wrapper.py'.format(TOOL_DIR)) 204 print('Note: including file: {}/rc/rc.py'.format(TOOL_DIR)) 206 'Note: including file: {}/rc/linux64/rc.sha1'.format(TOOL_DIR)) 207 print('Note: including file: {}/rc/mac/rc.sha1'.format(TOOL_DIR)) 209 'Note: including file: {}/rc/win/rc.exe.sha1'.format(TOOL_DIR))
|
| /external/clang/tools/scan-build-py/libscanbuild/ |
| D | report.py | 25 from libscanbuild.clang import get_version 119 | </head>""", indent).format(html_title=args.html_title)) 130 | </table>""", indent).format(html_title=args.html_title, 135 clang_version=get_version(args.clang), 174 | </tr>""", indent).format(bug_counter.total)) 179 | </tr>""", indent).format(category)) 191 | </tr>""", indent).format(**bug_type)) 237 | </tr>""", indent).format(**current)) 275 | </tr>""", indent).format(**current)) 303 lambda bug: '{bug_line}.{bug_path_length}:{bug_file}'.format(**bug)) [all …]
|
| D | runner.py | 16 from libscanbuild.clang import get_version, get_arguments 58 raise KeyError('{0} not passed to {1}'.format( 138 handle.write(error.title().replace('_', ' ') + os.linesep)
|
| /external/bazelbuild-rules_cc/cc/private/toolchain/ |
| D | windows_cc_configure.bzl | 62 value = value.replace("/", "\\") 84 bazel_sh = bazel_sh.replace("\\", "/").lower() 327 … lib = msvc_vars_x64["%{msvc_env_lib_x64}"].replace("amd64", _targets_lib_folder[target_arch]) 331 env["LIB"] = lib.replace("x64", target_arch) 332 …env["PATH"] = escape_string(tools_path.replace("\\", "\\\\")) + ";" + msvc_vars_x64["%{msvc_env_pa… 375 print_envvars = ",".join(["{k}=%{k}%".format(k = k) for k in envvars]) 387 env_map[key] = escape_string(value.replace("\\", "\\\\")) if escape else value 473 return tool_path.replace("\\", "/") 599 return tool_path.replace("\\", "/") 608 for tool in ["clang-cl.exe", "lld-link.exe", "llvm-lib.exe"]: [all …]
|
| /external/clang/test/ |
| D | lit.cfg | 40 # testFormat: The test format to use to interpret tests. 148 clang_src_root = os.path.join(llvm_src_root, "tools", "clang") 149 clang_obj_root = os.path.join(llvm_obj_root, "tools", "clang") 152 # tools/clang layout. 171 # Discover the 'clang' and 'clangcc' to use. 176 # Determine which clang to use. 177 clang = os.getenv('CLANG') 179 # If the user set clang in the environment, definitely use that and don't 181 if clang: 182 return clang [all …]
|
| /external/rust/android-crates-io/crates/bindgen/ir/ |
| D | item.rs | 20 use crate::clang; 418 location: Option<clang::SourceLocation>, 435 location: Option<clang::SourceLocation>, in new() 455 ty: &clang::Type, in new_opaque_type() 534 pub(crate) fn location(&self) -> Option<&clang::SourceLocation> { in location() 737 to.push_str(&format!("_open{}_", level)); in push_disambiguated_name() 745 to.push_str(&format!("close{}", level)); in push_disambiguated_name() 798 format!("_bindgen_mod_{}", self.exposed_id(ctx)) in base_name() 803 format!("_bindgen_ty_{}", self.exposed_id(ctx)) in base_name() 962 format!("id_{}", self.id().as_usize()) in exposed_id() [all …]
|
| D | context.rs | 22 use crate::clang::{self, ABIKind, Cursor}; 320 type_params: HashMap<clang::Cursor, TypeId>, 337 semantic_parents: HashMap<clang::Cursor, ItemId>, 378 translation_unit: clang::TranslationUnit, 381 target_info: clang::TargetInfo, 536 input_unsaved_files: &[clang::UnsavedFile], in new() 541 let index = clang::Index::new(false, true); in new() 550 clang::TranslationUnit::parse( in new() 565 let target_info = clang::TargetInfo::new(&translation_unit); in new() 722 let old_item = mem::replace(&mut self.items[id.0], Some(item)); in add_item() [all …]
|
| /external/jsoncpp/ |
| D | CONTRIBUTING.md | 47 In the instructions below, replace `path/to/jsontest` with the path of the 79 * a `TESTNAME.json` file, that contains the input document in JSON format. 83 The `TESTNAME.expected` file format is as follows: 146 …e modifying (or the above rules for new files), and run clang format. Meson exposes clang format w… 148 ninja -v -C build-${LIB_TYPE}/ clang-format
|
| /external/tensorflow/third_party/gpus/ |
| D | cuda_configure.bzl | 7 * `TF_CUDA_CLANG`: Whether to use clang as a cuda compiler. 8 * `CLANG_CUDA_COMPILER_PATH`: The clang compiler path that will be used for 11 * `TF_DOWNLOAD_CLANG`: Whether to download a recent release of clang 124 get_env_var(repository_ctx, "TMP", "C:\\Windows\\Temp").replace( 133 return find_msvc_tool(repository_ctx, vc_path, "cl.exe").replace("\\", "/") 165 get_env_var(repository_ctx, "TMP", "C:\\Windows\\Temp").replace( 172 msvc_ml_path = find_msvc_tool(repository_ctx, vc_path, "ml64.exe").replace( 176 msvc_link_path = find_msvc_tool(repository_ctx, vc_path, "link.exe").replace( 180 msvc_lib_path = find_msvc_tool(repository_ctx, vc_path, "lib.exe").replace( 219 target_cc_name = "clang" [all …]
|
| D | rocm_configure.bzl | 84 " environment variable").format(target_cc_name, cc_path_envvar)) 136 # For some reason `clang -xc` sometimes returns include paths that are 137 # different from the ones from `clang -xc++`. (Symlink and a dir) 185 inc_dirs.append(rocm_toolkit_path + "/llvm/lib/clang/8.0/include") 186 inc_dirs.append(rocm_toolkit_path + "/llvm/lib/clang/9.0.0/include") 187 inc_dirs.append(rocm_toolkit_path + "/llvm/lib/clang/10.0.0/include") 188 inc_dirs.append(rocm_toolkit_path + "/llvm/lib/clang/11.0.0/include") 189 inc_dirs.append(rocm_toolkit_path + "/llvm/lib/clang/12.0.0/include") 190 inc_dirs.append(rocm_toolkit_path + "/llvm/lib/clang/13.0.0/include") 191 inc_dirs.append(rocm_toolkit_path + "/llvm/lib/clang/14.0.0/include") [all …]
|
| /external/AFLplusplus/docs/ |
| D | INSTALL.md | 23 NOTE: depending on your Debian/Ubuntu/Kali/... release, replace `-14` with 30 … apt-get install -y lld-14 llvm-14 llvm-14-dev clang-14 || sudo apt-get install -y lld llvm llvm-d… 39 It is recommended to install the newest available gcc, clang and llvm-dev 64 * code-format: format the code, do this before you commit and send a PR please! 110 Be sure to setup `PATH` to point to the correct clang binaries and use the 111 freshly installed clang, clang++, llvm-config, gmake and coreutils, e.g.: 121 export CC=clang 122 export CXX=clang++ 131 instrumentation anyway. `afl-clang` might fail too depending on your PATH setup. 132 But you don't want neither, you want `afl-clang-fast` anyway :) Note that [all …]
|
| /external/rust/android-crates-io/crates/bindgen/ |
| D | lib.rs | 44 mod clang; module 197 _ => Err(format!("`{}` is not a valid formatter", s)), in from_str() 345 clang::UnsavedFile::new(name.as_ref(), contents.as_ref()) in generate() 358 let clang = in dump_preprocessed_input() localVariable 404 let mut cmd = Command::new(clang.path); in dump_preprocessed_input() 598 format!("The {} Rust target is deprecated.", target), in deprecated_target_diagnostic() 750 input_unsaved_files: Vec<clang::UnsavedFile>, in generate() 778 format!("--target={}", effective_target).into_boxed_str(), in generate() 826 let clang = match clang_sys::support::Clang::find( in generate() localVariable 831 Some(clang) => clang, in generate() [all …]
|
| /external/sandboxed-api/sandboxed_api/tools/python_generator/ |
| D | code.py | 50 from clang import cindex 67 raise ValueError('Cannot prepare header guard from path: {}'.format(path)) 72 path = path.upper().replace('.', '_').replace('-', '_').replace('/', '_') 423 self.name = name or 'a{}'.format(pos) 427 self.call_argument = template.format(self.name) 433 return '::sapi::v::Ptr* {}'.format(self.name) 435 return '{} {}'.format(self._clang_type.spelling, self.name) 440 return '{} {name}_(({name}))'.format(self.mapped_type, name=self.name) 448 spelling = self._clang_type.spelling.replace('const', '') 449 return '::sapi::v::Reg<{}>'.format(spelling) [all …]
|
| /external/google-fruit/ |
| D | CONTRIBUTING.md | 58 export OS=linux; export COMPILER='clang-3.9'; export STL='libstdc++'; export UBUNTU='16.04'; extras… 81 export NJOBS=16; export OS=linux; export COMPILER='clang-3.9'; export STL='libstdc++'; export UBUNT… 116 The `/Z7` flag instructs Visual Studio to use the C7 format for debugging information, which allows… 118 If you don't want to use Boost, you can replace the `-DBoost_INCLUDE_DIR=...` flags above with `-DF… 216 C++ code in Fruit should be indented using clang-format (a `.clang-format` file is provided in the … 220 $ clang-format -i $(git ls-files | egrep '\.cpp|\.h' )
|
| /external/pigweed/third_party/fuchsia/ |
| D | copy.bara.sky | 16 ".clang-format", 73 core.replace("#include <zxtest/zxtest.h>", "#include \"gtest/gtest.h\""),
|
| /external/llvm/docs/HistoricalNotes/ |
| D | 2007-OriginalClangReadme.txt | 8 clang: noun 70 clang - An example driver, client of the libraries at various levels. 74 easy to reuse individual parts or replace pieces if desired. For example, to 92 II. Usage of clang driver: 95 - Help: clang --help 127 For more information on getting Graphviz to work with clang/LLVM, 136 * Full diagnostic customization by client (can format diagnostics however they
|