[llvm-bugs] [Bug 31922] New: Assertion failed: 0 && "Invalid SLocOffset or bad function choice"
via llvm-bugs
llvm-bugs at lists.llvm.org
Thu Feb 9 09:09:53 PST 2017
https://llvm.org/bugs/show_bug.cgi?id=31922
Bug ID: 31922
Summary: Assertion failed: 0 && "Invalid SLocOffset or bad
function choice"
Product: new-bugs
Version: unspecified
Hardware: PC
OS: Windows NT
Status: NEW
Severity: normal
Priority: P
Component: new bugs
Assignee: unassignedbugs at nondot.org
Reporter: yaron.keren at gmail.com
CC: llvm-bugs at lists.llvm.org
Classification: Unclassified
clang version 5.0.0 (trunk 294590)
clang -E file.cpp
where file.cpp is:
#define M(x) x
#include M(<a.h>)
and a.h is empty file in the same directory as file.cpp, results in
Assertion failed: 0 && "Invalid SLocOffset or bad function choice", file
C:\llvm\tools\clang\lib\Basic\SourceManager.cpp, line 817
the expected error would be to suggest using quotes "" to find a.h.
--
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/20170209/e86bf94f/attachment.html>
More information about the llvm-bugs
mailing list