Home
last modified time | relevance | path

Searched refs:indentation (Results 1 – 25 of 47) sorted by relevance

12

/llvm-project/clang-tools-extra/docs/clang-tidy/checks/readability/
H A Dmisleading-indentation.rst1 .. title:: clang-tidy - readability-misleading-indentation
3 readability-misleading-indentation
6 Correct indentation helps to understand code. Mismatch of the syntactical
7 structure and the indentation of the code may hide serious problems.
27 foo2(); // Wrong indentation: else belongs to if(cond2) statement.
H A Delse-after-return.rst7 reduce indentation where possible and where it makes understanding code easier.
H A Disolate-declaration.rst9 The automatic code-transformation will use the same indentation as the original
/llvm-project/lldb/source/Breakpoint/
H A DWatchpointOptions.cpp159 unsigned indentation) const { in GetDescription()
168 indentation += 2; in GetDescription()
169 s.indent(indentation); in GetDescription()
172 indentation += 2; in GetDescription()
175 s.indent(indentation); in GetDescription()
H A DBreakpointOptions.cpp568 unsigned indentation) const { in GetDescription()
577 indentation += 2; in GetDescription()
578 s.indent(indentation); in GetDescription()
586 indentation += 2; in GetDescription()
589 s.indent(indentation); in GetDescription()
/llvm-project/clang-tools-extra/docs/clang-tidy/checks/bugprone/
H A Dsuspicious-semicolon.rst9 context of the code (e.g. indentation) in an attempt to determine whether that
29 ``while`` loop with the empty body exits with `line == NULL`. The indentation of
38 While the indentation does not imply any nesting, there is simply no valid
43 intentional, reflect this using code indentation or put the semicolon in a new
55 Either remove the indentation from the second line:
/llvm-project/lldb/include/lldb/Utility/
H A DBaton.h44 unsigned indentation) const = 0;
57 unsigned indentation) const override;
71 unsigned indentation) const override {} in GetDescription() argument
/llvm-project/llvm/test/YAMLParser/
H A Dspec-06-01.test4 # neither content nor indentation.
16 ] # indentation.
H A Dsloppy-indentation.test5 indentation should be kept: {
19 may not adhere indentation'
H A Dspec-05-12.test5 # We don't currently reject tabs as indentation.
15 indentation, in plain scalar
/llvm-project/lldb/source/Utility/
H A DBaton.cpp13 unsigned indentation) const {} in GetDescription()
/llvm-project/mlir/utils/vim/
H A DREADME6 and indentation plugins (indent).
/llvm-project/clang-tools-extra/docs/clang-tidy/checks/llvm/
H A Dnamespace-comment.rst11 https://llvm.org/docs/CodingStandards.html#namespace-indentation
/llvm-project/lldb/include/lldb/Breakpoint/
H A DWatchpointOptions.h179 unsigned indentation) const override;
H A DBreakpointOptions.h90 unsigned indentation) const override;
/llvm-project/lldb/packages/Python/lldbsuite/test/
H A Dtest_result.py74 self.indentation = " " * (counterWidth + 2)
99 return "\n".join((str(test), self.indentation + doc_first_line))
/llvm-project/llvm/utils/vim/
H A DREADME6 and indentation plugins (indent).
H A Dvimrc14 " A tab produces a 2-space indentation
49 " Set a few indentation parameters. See the VIM help for cinoptions-values for
/llvm-project/mlir/
H A D.clang-tidy46 readability-misleading-indentation,
/llvm-project/llvm/utils/vim/indent/
H A Dllvm.vim8 " - If previous line ends with ':' increase indentation
/llvm-project/mlir/utils/vim/indent/
H A Dmlir.vim9 " - If previous line starts with a block label, increase indentation.
/llvm-project/polly/lib/External/isl/doc/
H A DCodingStyle8 - use tabs for indentation, where a tab counts for 8 characters
/llvm-project/utils/bazel/
H A D.bazelrc122 build:generic_gcc --copt=-Wno-misleading-indentation --host_copt=-Wno-misleading-indentation
/llvm-project/clang/test/Misc/
H A Dwarning-wall.c107 CHECK-NEXT: -Wmisleading-indentation
/llvm-project/clang/docs/
H A DClangFormatStyleOptions.rst73 # We'll use defaults from the LLVM style, but with 4 columns indentation.
3240 Always break before braces and add an extra level of indentation to
3744 The number of characters to use for indentation of constructor
4144 Specify whether access modifiers should have their own indentation level.
4149 When ``true``, access modifiers get their own indentation level. As a
4176 indentation level as for the case label, treating the case label the same
4200 When ``false``, use the same indentation level as for the switch
4368 The number of columns to use for indentation.
4699 The indentation style of lambda bodies. ``Signature`` (the default)
4701 the indentation leve
[all...]

12