https://bugs.llvm.org/show_bug.cgi?id=40461
Bug ID: 40461
Summary: Preprocessor indentation in clang-format not well
documented
Product: Documentation
Version: trunk
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P
Component: General docs
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Current documentation of clang-format misses one detail for preprocessor
indentation.
Written there is:
PPDIS_AfterHash (in configuration: AfterHash) Indents directives after the
hash.
The full description of semantics is written down in the implementing
https://reviews.llvm.org/D35955
The following detail is missing in the documentation. Especially in which cases
a guard is detected.
Preprocessor indentation also attempts to ignore include guards with the
checks:
Include guards cover the entire file
Include guards don't have #else
Include guards begin with
#ifndef <var>
#define <var>
...
--
You are receiving this mail because:
You are on the CC list for the bug._______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs