/aosp_15_r20/external/sandboxed-api/sandboxed_api/bazel/ |
H A 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__"], 55 cc_library(name = "format", deps = ["@llvm-project//llvm:llvm"]) 68 "/usr/lib/llvm-{}/include/llvm/Support/InitLLVM.h".format(ver) 76 for suffix in ["llvm", "llvm-c", "clang", "clang-c"]: 98 lib_strs = sorted(["\"-l{}\",".format(a[5:-2]) for a in archives]) 103 .replace("%{llvm_lib_dir}", lib_dir) [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/include/clang/Tooling/Refactoring/ |
D | AtomicChange.h | 24 namespace clang { 88 llvm::Error replace(const SourceManager &SM, const CharSourceRange &Range, 94 llvm::Error replace(const SourceManager &SM, SourceLocation Loc, 137 clang::tooling::Replacements Replaces); 163 format::FormatStyle Style = format::getNoStyle();
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/include/clang/Tooling/Refactoring/ |
D | AtomicChange.h | 24 namespace clang { 88 llvm::Error replace(const SourceManager &SM, const CharSourceRange &Range, 94 llvm::Error replace(const SourceManager &SM, SourceLocation Loc, 137 clang::tooling::Replacements Replaces); 163 format::FormatStyle Style = format::getNoStyle();
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/include/clang/Tooling/Refactoring/ |
D | AtomicChange.h | 24 namespace clang { 88 llvm::Error replace(const SourceManager &SM, const CharSourceRange &Range, 94 llvm::Error replace(const SourceManager &SM, SourceLocation Loc, 137 clang::tooling::Replacements Replaces); 163 format::FormatStyle Style = format::getNoStyle();
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/include/clang/Tooling/Refactoring/ |
D | AtomicChange.h | 24 namespace clang { 88 llvm::Error replace(const SourceManager &SM, const CharSourceRange &Range, 94 llvm::Error replace(const SourceManager &SM, SourceLocation Loc, 137 clang::tooling::Replacements Replaces); 163 format::FormatStyle Style = format::getNoStyle();
|
/aosp_15_r20/external/cronet/third_party/protobuf/objectivec/Tests/ |
H A 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 …]
|
/aosp_15_r20/external/protobuf/objectivec/Tests/ |
H A 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 …]
|
/aosp_15_r20/packages/modules/Bluetooth/ |
D | build.py | 201 sys.stderr.write("Number of jobs = {}\n".format(self.jobs)) 248 '{}/out/Default'.format(self.output_dir), 290 print("export {}='{}'".format(k, v)) 305 log_file = os.path.join(self.output_dir, '{}.log'.format(target)) 321 raise Exception("Return code is {}".format(rc)) 346 clang = not self.args.no_clang 349 return '"%s"' % s.replace('"', '\\"') 364 yield '%s=%s' % (k.replace('-', '_'), v) 368 'cc': 'clang' if clang else 'gcc', 369 'cxx': 'clang++' if clang else 'g++', [all …]
|
/aosp_15_r20/external/angle/src/libANGLE/renderer/metal/shaders/ |
H A 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] 110 final_combined_src_string = combined_source.replace('@@'.encode('utf-8'), ''.encode('utf-8')) 116 boilerplate_code = template_header_boilerplate.format( 131 boilerplate_code = template_header_boilerplate.format(
|
/aosp_15_r20/external/mesa3d/docs/ |
H A 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 …]
|
/aosp_15_r20/external/clang/tools/scan-build-py/libscanbuild/ |
H A 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 …]
|
/aosp_15_r20/frameworks/base/media/jni/soundpool/ |
H A D | Android.bp | 21 // https://clang.llvm.org/extra/clang-tidy/checks/list.html 28 "clang-analyzer-security*", 43 "modernize-replace-auto-ptr", 44 "modernize-replace-random-shuffle", 76 // https://clang.llvm.org/docs/UsersManual.html#command-line-options 77 // https://clang.llvm.org/docs/DiagnosticsReference.html 98 // https://clang.llvm.org/extra/clang-tidy/ 103 "-format-style=file",
|
/aosp_15_r20/external/webrtc/third_party/crc32c/src/ |
H A 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 \
|
/aosp_15_r20/external/angle/build/toolchain/win/rc/ |
H A 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))
|
/aosp_15_r20/external/cronet/build/toolchain/win/rc/ |
H A 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))
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/lib/libscanbuild/ |
D | report.py | 21 from libscanbuild.clang import get_version 92 ).format(html_title=args.html_title) 108 ).format( 114 clang_version=get_version(args.clang), 168 ).format(bug_counter.total) 178 ).format(category) 195 ).format(**bug_type) 256 ).format(**current) 309 ).format(**current) 345 lambda bug: "{bug_line}.{bug_path_length}:{bug_file}".format(**bug) [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/lib/libscanbuild/ |
D | report.py | 21 from libscanbuild.clang import get_version 92 ).format(html_title=args.html_title) 108 ).format( 114 clang_version=get_version(args.clang), 168 ).format(bug_counter.total) 178 ).format(category) 195 ).format(**bug_type) 256 ).format(**current) 309 ).format(**current) 345 lambda bug: "{bug_line}.{bug_path_length}:{bug_file}".format(**bug) [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/lib/libscanbuild/ |
D | report.py | 21 from libscanbuild.clang import get_version 92 ).format(html_title=args.html_title) 108 ).format( 114 clang_version=get_version(args.clang), 168 ).format(bug_counter.total) 178 ).format(category) 195 ).format(**bug_type) 256 ).format(**current) 309 ).format(**current) 345 lambda bug: "{bug_line}.{bug_path_length}:{bug_file}".format(**bug) [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/lib/libscanbuild/ |
D | report.py | 21 from libscanbuild.clang import get_version 92 ).format(html_title=args.html_title) 108 ).format( 114 clang_version=get_version(args.clang), 168 ).format(bug_counter.total) 178 ).format(category) 195 ).format(**bug_type) 256 ).format(**current) 309 ).format(**current) 345 lambda bug: "{bug_line}.{bug_path_length}:{bug_file}".format(**bug) [all …]
|
/aosp_15_r20/build/bazel/toolchains/clang/host/linux-x86/ |
H A D | cc_toolchain_constants.bzl | 51 "--format=gnu", 126 default_cpp_std_version_no_gnu = generated_config_constants.CppStdVersion.replace("gnu", "c") 127 experimental_cpp_std_version_no_gnu = generated_config_constants.ExperimentalCppStdVersion.replace(… 149 default_c_std_version_no_gnu = generated_config_constants.CStdVersion.replace("gnu", "c") 150 experimental_c_std_version_no_gnu = generated_config_constants.ExperimentalCStdVersion.replace("gnu… 258 …"//build/bazel_common_rules/platforms/os_arch:android_arm": "//prebuilts/clang/host/linux-x86:libc… 259 …"//build/bazel_common_rules/platforms/os_arch:android_arm64": "//prebuilts/clang/host/linux-x86:li… 260 …"//build/bazel_common_rules/platforms/os_arch:android_x86": "//prebuilts/clang/host/linux-x86:libc… 261 …"//build/bazel_common_rules/platforms/os_arch:android_x86_64": "//prebuilts/clang/host/linux-x86:l… 262 …"//build/bazel_common_rules/platforms/os_arch:linux_bionic_x86_64": "//prebuilts/clang/host/linux-… [all …]
|
/aosp_15_r20/frameworks/av/services/audioflinger/ |
H A D | Android.bp | 24 // https://clang.llvm.org/extra/clang-tidy/checks/list.html 31 "clang-analyzer-security*", 46 "modernize-replace-auto-ptr", 47 "modernize-replace-random-shuffle", 129 // https://clang.llvm.org/docs/UsersManual.html#command-line-options 130 // https://clang.llvm.org/docs/DiagnosticsReference.html 132 // https://clang.llvm.org/extra/clang-tidy/ 137 "-format-style=file",
|
/aosp_15_r20/frameworks/av/services/mediametrics/ |
H A D | Android.bp | 14 // https://clang.llvm.org/extra/clang-tidy/checks/list.html 21 "clang-analyzer-security*", 36 "modernize-replace-auto-ptr", 37 "modernize-replace-random-shuffle", 69 // https://clang.llvm.org/docs/UsersManual.html#command-line-options 70 // https://clang.llvm.org/docs/DiagnosticsReference.html 91 // https://clang.llvm.org/extra/clang-tidy/ 96 "-format-style=file",
|
/aosp_15_r20/frameworks/av/media/libaaudio/src/ |
H A D | Android.bp | 12 // https://clang.llvm.org/extra/clang-tidy/checks/list.html 19 "clang-analyzer-security*", 34 "modernize-replace-auto-ptr", 35 "modernize-replace-random-shuffle", 131 "-format-style=file", 255 "-format-style=file",
|
/aosp_15_r20/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 …]
|
/aosp_15_r20/external/clang/test/ |
H A 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 …]
|