[llvm-bugs] [Bug 35936] New: clang-format-6 breaks #if #endif
via llvm-bugs
llvm-bugs at lists.llvm.org
Fri Jan 12 12:21:07 PST 2018
https://bugs.llvm.org/show_bug.cgi?id=35936
Bug ID: 35936
Summary: clang-format-6 breaks #if #endif
Product: clang
Version: 6.0
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: Formatter
Assignee: unassignedclangbugs at nondot.org
Reporter: me at komzpa.net
CC: djasper at google.com, klimek at google.com,
llvm-bugs at lists.llvm.org
This:
```
#if PARANOIA_LEVEL > 0
double absF=fabs(F);
if ( absF < 0 || absF > 1 )
{
lwerror("interpolate_point4d: invalid F (%g)", F);
}
#endif
```
Becomes uncompilable this:
```
#if PARANOIA_LEVEL > 0
double absF = fabs(F);
if (absF < 0 || absF > 1)
{ lwerror("interpolate_point4d: invalid F (%g)", F); } #endif
```
--
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/20180112/2ef3d6be/attachment.html>
More information about the llvm-bugs
mailing list