[llvm-bugs] [Bug 31452] New: Clang tidy modernize crashes on Windows when processing Visual Studio cstdio header file
via llvm-bugs
llvm-bugs at lists.llvm.org
Thu Dec 22 06:27:12 PST 2016
https://llvm.org/bugs/show_bug.cgi?id=31452
Bug ID: 31452
Summary: Clang tidy modernize crashes on Windows when
processing Visual Studio cstdio header file
Product: new-bugs
Version: trunk
Hardware: PC
OS: Windows NT
Status: NEW
Severity: normal
Priority: P
Component: new bugs
Assignee: unassignedbugs at nondot.org
Reporter: adamf88 at gmail.com
CC: llvm-bugs at lists.llvm.org
Classification: Unclassified
If I run clang tidy with such command:
clang-tidy.exe Blob.cpp -checks=-*,modernize-use-using
on simple cpp file (only #include <cstdio>):
#include <cstdio>
then I receive an error:
Assertion failed: Loc >= BufferStart && Loc <= BufferEnd && "Location out of
range for this buffer!", file D:\src\llvm_package_288
665\llvm\tools\clang\lib\Lex\Lexer.cpp, line 1079
Tested on Visual Studio 2015 Update 3 standard library.
The problem is related with this typedef in Visual Studio cstdio file:
typedef FILE _Filet;
I used clang build snapshot r288665
--
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/20161222/ba960f25/attachment.html>
More information about the llvm-bugs
mailing list