Home
last modified time | relevance | path

Searched refs:style (Results 1 – 25 of 471) sorted by relevance

12345678910>>...19

/llvm-project-15.0.7/llvm/include/llvm/Support/
H A DPath.h82 friend const_iterator begin(StringRef path, Style style);
107 friend reverse_iterator rbegin(StringRef path, Style style);
170 Style style = Style::native);
196 Style style = Style::native);
211 Style style = Style::native);
256 Style style = Style::native);
270 Style style = Style::native) {
271 if (!is_style_windows(style))
273 native(path, style);
397 bool is_separator(char value, Style style = Style::native);
[all …]
/llvm-project-15.0.7/llvm/lib/Support/
H A DPath.cpp41 if (style != Style::native) in real_style()
42 return style; in real_style()
43 if (is_style_posix(style)) in real_style()
50 if (is_style_windows(style)) in separators()
231 i.S = style; in begin()
301 I.S = style; in rbegin()
547 native(result, style); in native()
569 if (is_style_posix(style)) in convert_to_slash()
577 StringRef filename(StringRef path, Style style) { return *rbegin(path, style); } in filename() argument
676 bool rootName = is_style_posix(style) || has_root_name(p, style); in is_absolute()
[all …]
/llvm-project-15.0.7/clang/docs/
H A DLibFormat.rst7 as some basic style discussions.
31 formatting. A list of options can be found under :ref:`style-options`.
33 The style options are described in :doc:`ClangFormatStyleOptions`.
43 several style guides are hard-coded:
51 /// Returns a format style complying with Google's C++ style guide:
55 /// Returns a format style complying with Chromium's style guide:
63 /// Returns a format style complying with Mozilla's style guide
67 /// Returns a format style complying with Webkit's style guide:
68 /// https://webkit.org/code-style-guidelines/
71 /// Returns a format style complying with Microsoft's style guide:
[all …]
H A DClangFormat.rst64 --fallback-style=<string> - The name of the predefined style used as a
97 --style=<string> - Set coding style. <string> can be:
104 --fallback-style.
122 the style can be customized using the ``-style="{key: value, ...}"`` option or
130 clang-format -style=llvm -dump-config > .clang-format
217 or the default LLVM style.
264 clangFormat.style
282 --style STYLE passed to clang-format
318 …-style STYLE formatting style to apply (LLVM, GNU, Google, Chromium, Microsoft, Mozilla, …
319 -fallback-style FALLBACK_STYLE
[all …]
/llvm-project-15.0.7/llvm/docs/_static/
H A DLoopOptWG_invite.ics35 …style type="text/css">\ntable {\n border-collapse: separate; width =100%; border: 0; border-spacin…
/llvm-project-15.0.7/lldb/unittests/Language/Highlighting/
H A DHighlighterTest.cpp76 HighlightStyle style; in TEST_F() local
77 style.identifier.Set("[", "]"); in TEST_F()
78 style.semicolons.Set("<", ">"); in TEST_F()
96 HighlightStyle style; in TEST_F() local
97 EXPECT_EQ(code, highlightDefault(code, style)); in TEST_F()
101 HighlightStyle style; in TEST_F() local
102 style.selected.Set("<c>", "</c>"); in TEST_F()
110 HighlightStyle style; in TEST_F() local
111 style.selected.Set("<c>", "</c>"); in TEST_F()
117 highlightC(llvm::StringRef code, HighlightStyle style, in highlightC() argument
[all …]
/llvm-project-15.0.7/clang/test/SemaObjCXX/
H A Dobjcbridge-static-cast.mm32 … // expected-note {{use __bridge with C-style cast to convert directly (no change in ownership)}} \
79 … // expected-note {{use __bridge with C-style cast to convert directly (no change in ownership)}} \
83 … // expected-note {{use __bridge with C-style cast to convert directly (no change in ownership)}} \
90 // expected-note {{use __bridge with C-style cast to convert directly (no change in ownership)}} \
93 // expected-note {{use __bridge with C-style cast to convert directly (no change in ownership)}} \
97 // expected-note {{use __bridge with C-style cast to convert directly (no change in ownership)}} \
103 … // expected-note {{use __bridge with C-style cast to convert directly (no change in ownership)}} \
106 … // expected-note {{use __bridge with C-style cast to convert directly (no change in ownership)}} \
109 … // expected-note {{use __bridge with C-style cast to convert directly (no change in ownership)}} \
112 … // expected-note {{use __bridge with C-style cast to convert directly (no change in ownership)}} \
[all …]
/llvm-project-15.0.7/lld/docs/
H A Dpartitions.dot5 main [style=filled,fillcolor=lightblue];
6 f1 [style=filled,fillcolor=lightsalmon];
7 f2 [style=filled,fillcolor=palegreen];
8 f3 [style=filled,fillcolor=lightblue];
9 f4 [style=filled,fillcolor=lightsalmon];
10 f5 [style=filled,fillcolor=lightblue];
11 f6 [style=filled,fillcolor=palegreen];
/llvm-project-15.0.7/llvm/test/ThinLTO/X86/
H A Ddot-dumper.ll19 ; PERMODULE-NEXT: style = filled;
22 ; PERMODULE-NEXT: node [style=filled,fillcolor=lightblue];
26 ; PERMODULE-NEXT: M0_[[MAIN_ALIAS]] -> M0_[[MAIN]] [style=dotted]; // alias
30 ; PERMODULE-NEXT: M0_[[MAIN]] -> [[A]] [style=dashed,color=forestgreen]; // const-ref
38 ; COMBINED-NEXT: style = filled;
41 ; COMBINED-NEXT: node [style=filled,fillcolor=lightblue];
45 ; COMBINED-NEXT: M0_[[MAIN_ALIAS]] -> M0_[[MAIN]] [style=dotted]; // alias
49 ; COMBINED-NEXT: style = filled;
52 ; COMBINED-NEXT: node [style=filled,fillcolor=lightblue];
58 ; COMBINED-NEXT: M1_[[FOO]] -> M1_[[B]] [style=dashed,color=forestgreen]; // const-ref
[all …]
/llvm-project-15.0.7/llvm/docs/
H A DCoverageMappingFormat.rst96 …<span style='background-color:#F6D55D'> }</span><span style='background-color:#4A789C'> …
98 <span style='background-color:#4A789C'>}</span>
110 …<span style='background-color:#85C1F5'>#</span><span style='background-color:#4A789C'>endif …
112 <span style='background-color:#4A789C'>}</span>
125 …style='background-color:#4A789C'> #define MAX(x,y) </span><span style='background-color:#85C1F5'>…
127 <span style='background-color:#4A789C'>}</span>
172 <span style='background-color:#4A789C'>}</span>
200 <span style='background-color:#F6D55D'> }</span><span style='background-color:#4A789C'> …
202 <span style='background-color:#4A789C'>}</span>
211 <span style='background-color:#4A789C'> </span><span style='background-color:#85C1F5'>printf("Hell…
[all …]
/llvm-project-15.0.7/lldb/source/Utility/
H A DFileSpec.cpp45 bool PathStyleIsPosix(FileSpec::Style style) { in PathStyleIsPosix() argument
46 return llvm::sys::path::is_style_posix(style); in PathStyleIsPosix()
49 const char *GetPathSeparators(FileSpec::Style style) { in GetPathSeparators() argument
54 return GetPathSeparators(style)[0]; in GetPreferredPathSeparator()
58 if (PathStyleIsPosix(style)) in Denormalize()
69 FileSpec::FileSpec(llvm::StringRef path, Style style) : m_style(style) { in FileSpec() argument
70 SetFile(path, style); in FileSpec()
176 m_style = (style == Style::native) ? GetNativeStyle() : style; in SetFile()
551 FileSpecStyle style = f.m_style; in mapping() local
552 io.mapRequired("style", style); in mapping()
[all …]
/llvm-project-15.0.7/llvm/test/Other/ChangePrinters/DotCfg/
H A Dprint-changed-dot-cfg.ll140 …is.nextElementSibling; if (content.style.display === "block"){ content.style.display = "none"; } e…
156 …is.nextElementSibling; if (content.style.display === "block"){ content.style.display = "none"; } e…
173 …is.nextElementSibling; if (content.style.display === "block"){ content.style.display = "none"; } e…
190 …is.nextElementSibling; if (content.style.display === "block"){ content.style.display = "none"; } e…
207 …is.nextElementSibling; if (content.style.display === "block"){ content.style.display = "none"; } e…
228 …is.nextElementSibling; if (content.style.display === "block"){ content.style.display = "none"; } e…
246 …is.nextElementSibling; if (content.style.display === "block"){ content.style.display = "none"; } e…
265 …is.nextElementSibling; if (content.style.display === "block"){ content.style.display = "none"; } e…
272 …is.nextElementSibling; if (content.style.display === "block"){ content.style.display = "none"; } e…
277 …is.nextElementSibling; if (content.style.display === "block"){ content.style.display = "none"; } e…
[all …]
/llvm-project-15.0.7/llvm/test/TableGen/GICombinerEmitter/
H A Dparse-match-pattern.td47 // CHECK-NEXT: Node[[N1]]:e -> Pred[[P1]]:d1:s [style=dotted]
75 // CHECK-NEXT: Node[[N1]]:e -> Pred[[P1]]:d1:s [style=dotted]
76 // CHECK-NEXT: Node[[N2]]:e -> Pred[[P2]]:d1:s [style=dotted]
116 // CHECK-NEXT: Node[[N1]]:e -> Pred[[P1]]:d1:s [style=dotted]
117 // CHECK-NEXT: Node[[N2]]:e -> Pred[[P2]]:d1:s [style=dotted]
118 // CHECK-NEXT: Node[[N3]]:e -> Pred[[P3]]:d1:s [style=dotted]
160 // CHECK-NEXT: Node[[N1]]:e -> Pred[[P1]]:d1:s [style=dotted]
161 // CHECK-NEXT: Node[[N2]]:e -> Pred[[P2]]:d1:s [style=dotted]
162 // CHECK-NEXT: Node[[N3]]:e -> Pred[[P3]]:d1:s [style=dotted]
194 // CHECK-NEXT: Node[[N1]]:e -> Pred[[P1]]:d1:s [style=dotted]
[all …]
/llvm-project-15.0.7/llvm/test/tools/llvm-symbolizer/
H A Doutput-style-inlined.test2 style is set to GNU (--output-style=GNU) the name of an inlined function is not
4 behavior of llvm-symbolizer is preserved with --output-style=LLVM or when
14 RUN: llvm-symbolizer --output-style=LLVM --no-inlines -e %p/Inputs/addr.exe 0x40054d \
17 RUN: llvm-symbolizer --output-style=GNU --no-inlines -e %p/Inputs/addr.exe 0x40054d \
23 RUN: llvm-addr2line --output-style=GNU -f -e %p/Inputs/addr.exe 0x40054d \
26 RUN: llvm-addr2line --output-style=LLVM -f -e %p/Inputs/addr.exe 0x40054d \
35 RUN: llvm-symbolizer --output-style=GNU --obj=%p/Inputs/not.exist 0x1 0x2 --no-inlines 2>&1 \
37 RUN: llvm-symbolizer --output-style=LLVM --obj=%p/Inputs/not.exist 0x1 0x2 --no-inlines 2>&1 \
H A Doutput-style-empty-line.test1 This test checks that with --output-style=GNU the tool does not print an empty
3 --output-style=LLVM or if the option is omitted.
8 RUN: llvm-symbolizer --output-style=LLVM -e %p/Inputs/addr.exe < %p/Inputs/addr.inp \
11 RUN: llvm-symbolizer --output-style=GNU -e %p/Inputs/addr.exe < %p/Inputs/addr.inp \
17 RUN: llvm-addr2line --output-style=GNU -i -e %p/Inputs/addr.exe < %p/Inputs/addr.inp \
20 RUN: llvm-addr2line --output-style=LLVM -i -e %p/Inputs/addr.exe < %p/Inputs/addr.inp \
/llvm-project-15.0.7/polly/www/video-js/
H A Dvideo.js709 this.box.style.width = "";
710 this.element.style.height="";
712 this.box.style.height = "";
719 this.element.style.height = "";
864 this.box.style.width = width+"px";
1131 bar.style.display = "block";
1142 bar.style.display = "none";
1214 if (bar.style) { bar.style.width = _V_.round(progress * 100, 2) + "%"; }
1228 if (bar.style) { bar.style.width = _V_.round(this.bufferedPercent() * 100, 2) + "%"; }
1419 element.style.display = "none";
[all …]
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/modernize/
H A Davoid-c-arrays.rst10 Finds C-style array types and recommend to use ``std::array<>`` /
18 int a[] = {1, 2}; // warning: do not declare C-style arrays, use std::array<> instead
20 int b[1]; // warning: do not declare C-style arrays, use std::array<> instead
28 T d[Size]; // warning: do not declare C-style arrays, use std::array<> instead
30 int e[1]; // warning: do not declare C-style arrays, use std::array<> instead
33 array<int[4], 2> d; // warning: do not declare C-style arrays, use std::array<> instead
35 using k = int[4]; // warning: do not declare C-style arrays, use std::array<> instead
/llvm-project-15.0.7/llvm/test/tools/llvm-cov/
H A Dstyle.test7 RUN: FileCheck %s -input-file=%t.dir/style.css -check-prefix=STYLE
11 RUN: FileCheck %s -input-file=%t.filtered.dir/style.css -check-prefix=STYLE
40 TOPLEVEL-NOT: <style>
42 TOPLEVEL: <link rel='stylesheet' type='text/css' href='style.css'>
45 FILEVIEW-NOT: <style>
47 FILEVIEW: <link rel='stylesheet' type='text/css' href='..{{.*}}..{{.*}}style.css'>
51 NODIR: <style>
52 NODIR: </style>
/llvm-project-15.0.7/libcxx/docs/Helpers/
H A DStyles.rst3 <style type="text/css">
8 font-style: italic;
12 font-style: italic;
17 font-style: italic;
24 </style>
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/google/
H A Dobjc-function-naming.m15 // must be in Pascal case as required by Google Objective-C style guide
20 // must be in Pascal case as required by Google Objective-C style guide
25 // must be in Pascal case as required by Google Objective-C style guide
30 // must be in Pascal case as required by Google Objective-C style guide
38 // required by Google Objective-C style guide
42 // in Pascal case as required by Google Objective-C style guide
58 // required by Google Objective-C style guide
65 // by Google Objective-C style guide
/llvm-project-15.0.7/clang/tools/clang-format/
H A Dclang-format.el135 (defun clang-format-region (start end &optional style assume-file-name)
146 (unless style
147 (setq style clang-format-style))
176 ,@(and style (list "-style" style))
208 (defun clang-format-buffer (&optional style assume-file-name)
214 (clang-format-region (point-min) (point-max) style assume-file-name))
/llvm-project-15.0.7/llvm/test/tools/llvm-rc/Inputs/
H A Dnot-expr.rc14 … // groupbox class style 0x50000007, resulting with style 0x50000022
16 … // class style 0x50000007, but sets bit 1, resulting with style 0x50000001
/llvm-project-15.0.7/llvm/test/Analysis/MemorySSA/
H A Dprint-dot-cfg-mssa.ll87 ; CHECK: {{[shape=record,style=filled, fillcolor=lightpink,label="{bb1:.*1 = MemoryDef(liveOnEntry)…
88 ; CHECK: {{[shape=record,style=filled, fillcolor=lightpink,label="{if.then:.*5 = MemoryDef(4).*}"]}}
90 ; CHECK: {{[shape=record,style=filled, fillcolor=lightpink,label="{if.else:.*6 = MemoryDef(4).*}"]}}
91 ; CHECK: {{[shape=record,style=filled, fillcolor=lightpink,label="{if.end:.*10 = MemoryPhi({bb2,5},…
92 ; CHECK: {{[shape=record,style=filled, fillcolor=lightpink,label="{if.then2:.*MemoryUse(10).*}"]}}
93 ; CHECK: {{[shape=record,style=filled, fillcolor=lightpink,label="{bb3:.*8 = MemoryDef(7).*}"]}}
94 ; CHECK: {{[shape=record,style=filled, fillcolor=lightpink,label="{if.end3:.*9 = MemoryPhi({if.end,…
95 ; CHECK: {{[shape=record,style=filled, fillcolor=lightpink,label="{bb4:.*MemoryUse(2).*MemoryUse(7)…
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/objc/
H A Dproperty-declaration.m12 …NE-1]]:34: warning: property name 'NotCamelCase' not using lowerCamelCase style or not prefixed in…
20 …LINE-1]]:40: warning: property name 'URL_string' not using lowerCamelCase style or not prefixed in…
37 …]]:34: warning: property name 'abc_NotCamelCase' not using lowerCamelCase style or not prefixed in…
39 …-1]]:34: warning: property name 'abCD_camelCase' not using lowerCamelCase style or not prefixed in…
42 …]:34: warning: property name 'abCD_NotCamelCase' not using lowerCamelCase style or not prefixed in…
45 …NE-1]]:34: warning: property name 'wrongFormat_' not using lowerCamelCase style or not prefixed in…
54 …4: warning: property name 'abc_inClassExtension' not using lowerCamelCase style or not prefixed in…
/llvm-project-15.0.7/clang/www/analyzer/scripts/
H A Dexpandcollapse.js72 with (data.style) { height = (CLIP_HEIGHT - EXPANDER_HEIGHT) + "px";
76 with (expander.style) { display = "block"; paddingTop = "5px"; }
103 expandableDiv.style.height = CLIP_HEIGHT + "px";
163 expandableDiv.style.height = newHeight + "px";
170 data.style.height = (newHeight - EXPANDER_HEIGHT) + "px";
175 data.style.height = "";

12345678910>>...19