[llvm-bugs] [Bug 35145] New: Unstable indentation of comments within #ifdef with IndentPPDirectives: AfterHash
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue Oct 31 05:49:27 PDT 2017
https://bugs.llvm.org/show_bug.cgi?id=35145
Bug ID: 35145
Summary: Unstable indentation of comments within #ifdef with
IndentPPDirectives: AfterHash
Product: clang
Version: trunk
Hardware: PC
OS: Windows NT
Status: NEW
Severity: enhancement
Priority: P
Component: Formatter
Assignee: unassignedclangbugs at nondot.org
Reporter: mikhail.matrosov at gmail.com
CC: djasper at google.com, klimek at google.com,
llvm-bugs at lists.llvm.org
Format this code several times with -style="{IndentPPDirectives: AfterHash}":
#ifndef ASMINF
// comment
# ifdef POSTINC
# endif
#endif
See how indentation of the comment appears and disappears.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20171031/96439d7d/attachment.html>
More information about the llvm-bugs
mailing list